GRR. Unbreak WARNS=2.

cc1: warnings being treated as errors
usr.bin/finger/lprint.c: In function `lprint':
usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2)
*** Error code 1

Pointy hat to:	markm
This commit is contained in:
Peter Wemm 2002-02-08 07:52:51 +00:00
parent cf467a82df
commit 77dcd09d42

View File

@ -188,7 +188,7 @@ lprint(pn)
delta = gmtime(&w->idletime);
if (delta->tm_yday || delta->tm_hour || delta->tm_min) {
cpr += printf("%-*s idle ",
maxlen - strlen(w->tty) + 1, ",");
maxlen - (int)strlen(w->tty) + 1, ",");
if (delta->tm_yday > 0) {
cpr += printf("%d day%s ",
delta->tm_yday,