=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/finger/finger.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/usr.bin/finger/finger.c 2000/01/12 11:08:05 1.10 --- src/usr.bin/finger/finger.c 2001/07/04 06:30:44 1.11 *************** *** 1,4 **** ! /* $OpenBSD: finger.c,v 1.10 2000/01/12 11:08:05 aaron Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: finger.c,v 1.11 2001/07/04 06:30:44 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. *************** *** 54,60 **** #ifndef lint /*static char sccsid[] = "from: @(#)finger.c 5.22 (Berkeley) 6/29/90";*/ ! static char rcsid[] = "$OpenBSD: finger.c,v 1.10 2000/01/12 11:08:05 aaron Exp $"; #endif /* not lint */ /* --- 54,60 ---- #ifndef lint /*static char sccsid[] = "from: @(#)finger.c 5.22 (Berkeley) 6/29/90";*/ ! static char rcsid[] = "$OpenBSD: finger.c,v 1.11 2001/07/04 06:30:44 deraadt Exp $"; #endif /* not lint */ /* *************** *** 78,83 **** --- 78,84 ---- #include #include #include + #include #include #include "finger.h" #include "extern.h" *************** *** 132,138 **** argv += optind; /* If a domainname is set, increment mflag. */ ! if ((getdomainname(&domain, sizeof(domain)) == 0) && domain[0]) mflag++; /* If _PATH_MP_DB is larger than 1MB, increment mflag. */ if (stat(_PATH_MP_DB, &sb) == 0) { --- 133,139 ---- argv += optind; /* If a domainname is set, increment mflag. */ ! if ((getdomainname(domain, sizeof(domain)) == 0) && domain[0]) mflag++; /* If _PATH_MP_DB is larger than 1MB, increment mflag. */ if (stat(_PATH_MP_DB, &sb) == 0) {