Cast to long to match format. Hidden by revision 1.18 of Makefile.

This commit is contained in:
Juli Mallett 2002-06-07 00:00:29 +00:00
parent a5426997a3
commit c3f1b5a9db

View File

@ -542,7 +542,8 @@ elapsed(KINFO *k, VARENT *ve)
v = ve->var; v = ve->var;
secs = now - k->ki_p->ki_start.tv_sec; secs = now - k->ki_p->ki_start.tv_sec;
(void)snprintf(obuff, sizeof(obuff), "%3ld:%02ld", secs/60, secs%60); (void)snprintf(obuff, sizeof(obuff), "%3ld:%02ld", (long)secs/60,
(long)secs%60);
(void)printf("%*s", v->width, obuff); (void)printf("%*s", v->width, obuff);
} }