diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-14 12:18:28 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-14 12:18:28 +0000 |
commit | 28e461d672204f54b8eb68a590d36c23a32f9574 (patch) | |
tree | 3e3c51ee95dec9ad261710930b40e4426389cbb8 /bin/csh/time.c | |
parent | fb3035e3379d9258753316427b03a4d8d0676d07 (diff) |
-Wall'ing.
Diffstat (limited to 'bin/csh/time.c')
-rw-r--r-- | bin/csh/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/time.c b/bin/csh/time.c index fb5855909ac..c70fc4c7fa7 100644 --- a/bin/csh/time.c +++ b/bin/csh/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.2 1996/06/23 14:19:31 deraadt Exp $ */ +/* $OpenBSD: time.c,v 1.3 1996/12/14 12:17:44 mickey Exp $ */ /* $NetBSD: time.c,v 1.7 1995/03/21 13:55:25 mycroft Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: time.c,v 1.2 1996/06/23 14:19:31 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: time.c,v 1.3 1996/12/14 12:17:44 mickey Exp $"; #endif #endif /* not lint */ @@ -251,7 +251,7 @@ pdeltat(t1, t0) struct timeval td; timersub(t1, t0, &td); - (void) fprintf(cshout, "%d.%01d", td.tv_sec, td.tv_usec / 100000); + (void) fprintf(cshout, "%ld.%01ld", td.tv_sec, td.tv_usec / 100000); } #define P2DIG(i) (void) fprintf(cshout, "%d%d", (i) / 10, (i) % 10) |