diff options
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) |