summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-12-20 21:28:08 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-12-20 21:28:08 +0100
commit7091adae1bc9aac0e8b363d320e3efdcfd84e71f (patch)
tree43a856051aa1f78ffb55e9b0e7bf26d9496b6a40 /lib
parent68ea224e043c83de1d185cb6fa329997a34ec74d (diff)
downloadsmokeping-7091adae1bc9aac0e8b363d320e3efdcfd84e71f.tar.gz
smokeping-7091adae1bc9aac0e8b363d320e3efdcfd84e71f.tar.xz
portability fix for %.1f
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index e497518..46ba134 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1091,7 +1091,7 @@ sub get_detail ($$$$;$){
'GPRINT:median:MAX:%.1lf %ss max',
'GPRINT:median:MIN:%.1lf %ss min',
'GPRINT:median:LAST:%.1lf %ss now',
- sprintf('COMMENT:%.1lf ms sd',$stddev*1000.0),
+ sprintf('COMMENT:%.1f ms sd',$stddev*1000.0),
'GPRINT:mesd:AVERAGE:%.1lf %s am/s\l',
"LINE1:median#202020"
);