diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-07-27 20:34:37 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-07-27 20:34:37 +0000 |
commit | 078253af8b9273a3cd3303ffa535f76e3260ac17 (patch) | |
tree | 5411e5337586aceb81ad2f64e4b31ea0f65e0c53 /usr.sbin/sa/usrdb.c | |
parent | 8303d75019d73ec9a16cd4b93b922fc1d9859743 (diff) |
Wall cleanup
Diffstat (limited to 'usr.sbin/sa/usrdb.c')
-rw-r--r-- | usr.sbin/sa/usrdb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c index 656f5eb493a..ee92dfbca55 100644 --- a/usr.sbin/sa/usrdb.c +++ b/usr.sbin/sa/usrdb.c @@ -29,7 +29,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: usrdb.c,v 1.2 1999/08/06 20:41:08 deraadt Exp $"; +static char rcsid[] = "$Id: usrdb.c,v 1.3 2001/07/27 20:34:36 pvalchev Exp $"; #endif #include <sys/types.h> @@ -172,7 +172,6 @@ usracct_update() DB *saved_usracct_db; DBT key, data; BTREEINFO bti; - uid_t uid; int error, serr, nerr; memset(&bti, 0, sizeof(bti)); @@ -243,7 +242,7 @@ usracct_print() if (t < 0.0001) /* kill divide by zero */ t = 0.0001; - printf("%12.2lf%s ", t / 60.0, "cpu"); + printf("%12.2f%s ", t / 60.0, "cpu"); /* ui->ui_calls is always != 0 */ if (dflag) |