=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/finger/util.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/finger/util.c 1997/06/17 21:00:01 1.7 --- src/usr.bin/finger/util.c 1997/06/30 06:24:47 1.8 *************** *** 1,4 **** ! /* $OpenBSD: util.c,v 1.7 1997/06/17 21:00:01 kstailey Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: util.c,v 1.8 1997/06/30 06:24:47 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. *************** *** 39,45 **** #ifndef lint /*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/ ! static char rcsid[] = "$OpenBSD: util.c,v 1.7 1997/06/17 21:00:01 kstailey Exp $"; #endif /* not lint */ #include --- 39,45 ---- #ifndef lint /*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/ ! static char rcsid[] = "$OpenBSD: util.c,v 1.8 1997/06/30 06:24:47 deraadt Exp $"; #endif /* not lint */ #include *************** *** 194,200 **** } if (fd == -1 || lseek(fd, (off_t)(pn->uid * sizeof(ll)), SEEK_SET) != ! (long)pn->uid * sizeof(ll) || read(fd, (char *)&ll, sizeof(ll)) != sizeof(ll)) { /* as if never logged in */ ll.ll_line[0] = ll.ll_host[0] = '\0'; --- 194,200 ---- } if (fd == -1 || lseek(fd, (off_t)(pn->uid * sizeof(ll)), SEEK_SET) != ! (long)(pn->uid * sizeof(ll)) || read(fd, (char *)&ll, sizeof(ll)) != sizeof(ll)) { /* as if never logged in */ ll.ll_line[0] = ll.ll_host[0] = '\0';