diff options
Diffstat (limited to 'usr.bin/window/lcmd2.c')
-rw-r--r-- | usr.bin/window/lcmd2.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/window/lcmd2.c b/usr.bin/window/lcmd2.c index c9eaa24..a9972a9 100644 --- a/usr.bin/window/lcmd2.c +++ b/usr.bin/window/lcmd2.c @@ -34,11 +34,14 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static char sccsid[] = "@(#)lcmd2.c 8.1 (Berkeley) 6/6/93"; -static char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "defs.h" #include <string.h> /* System string definitions. */ @@ -175,7 +178,7 @@ register struct timeval *t; t->tv_sec %= 60; fill++; } - (void) sprintf(p, fill ? "%02ld.%02d" : "%ld.%02ld", + (void) sprintf(p, fill ? "%02ld.%02ld" : "%ld.%02ld", t->tv_sec, t->tv_usec / 10000); return buf; } |