diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2008-12-07 02:56:07 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2008-12-07 02:56:07 +0000 |
commit | 1175b367c77957b9c14d4c9527b4f111b9c8d63d (patch) | |
tree | d368526d476ffcf502c42e94d16428fa9bef3dd9 /usr.bin/systat/sensors.c | |
parent | 89ae31d1744f7a0a6124e4185e4f6859d09ef7ef (diff) |
Warning cleanup including unused variables and shadowed names
Diffstat (limited to 'usr.bin/systat/sensors.c')
-rw-r--r-- | usr.bin/systat/sensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/sensors.c b/usr.bin/systat/sensors.c index 65c0c28f3d4..d12c0dbd644 100644 --- a/usr.bin/systat/sensors.c +++ b/usr.bin/systat/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.13 2008/06/12 22:26:01 canacar Exp $ */ +/* $OpenBSD: sensors.c,v 1.14 2008/12/07 02:56:06 canacar Exp $ */ /* * Copyright (c) 2007 Deanna Phillips <deanna@openbsd.org> @@ -333,7 +333,7 @@ fmttime(double in) } snprintf(outbuf, LEN, - tiny ? "%s%lf %s" : "%s%.3lf %s", + tiny ? "%s%f %s" : "%s%.3f %s", signbit == -1 ? "-" : "", in, unit); return outbuf; |