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:
parent
cf467a82df
commit
77dcd09d42
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user