=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/finger/lprint.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/finger/lprint.c 1997/05/30 23:35:52 1.4 --- src/usr.bin/finger/lprint.c 2001/07/12 05:17:04 1.5 *************** *** 1,4 **** ! /* $OpenBSD: lprint.c,v 1.4 1997/05/30 23:35:52 kstailey Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: lprint.c,v 1.5 2001/07/12 05:17:04 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. *************** *** 38,44 **** #ifndef lint /*static char sccsid[] = "from: @(#)lprint.c 5.13 (Berkeley) 10/31/90";*/ ! static char rcsid[] = "$OpenBSD: lprint.c,v 1.4 1997/05/30 23:35:52 kstailey Exp $"; #endif /* not lint */ #include --- 38,44 ---- #ifndef lint /*static char sccsid[] = "from: @(#)lprint.c 5.13 (Berkeley) 10/31/90";*/ ! static char rcsid[] = "$OpenBSD: lprint.c,v 1.5 2001/07/12 05:17:04 deraadt Exp $"; #endif /* not lint */ #include *************** *** 169,175 **** delta = gmtime(&w->idletime); if (delta->tm_yday || delta->tm_hour || delta->tm_min) { cpr += printf("%-*s idle ", ! maxlen - strlen(w->tty) + 1, ","); if (delta->tm_yday > 0) { cpr += printf("%d day%s ", delta->tm_yday, --- 169,175 ---- delta = gmtime(&w->idletime); if (delta->tm_yday || delta->tm_hour || delta->tm_min) { cpr += printf("%-*s idle ", ! (int)(maxlen - strlen(w->tty) + 1), ","); if (delta->tm_yday > 0) { cpr += printf("%d day%s ", delta->tm_yday,