diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-12-20 21:28:08 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-12-20 21:28:08 +0100 |
commit | 7091adae1bc9aac0e8b363d320e3efdcfd84e71f (patch) | |
tree | 43a856051aa1f78ffb55e9b0e7bf26d9496b6a40 /lib | |
parent | 68ea224e043c83de1d185cb6fa329997a34ec74d (diff) | |
download | smokeping-7091adae1bc9aac0e8b363d320e3efdcfd84e71f.tar.gz smokeping-7091adae1bc9aac0e8b363d320e3efdcfd84e71f.tar.xz |
portability fix for %.1f
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 |
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" ); |