diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:48:21 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:48:21 +0000 |
| commit | 91477cc4d7fe265d722af24b978c1e6147178301 (patch) | |
| tree | 8a411abbd72d727a49138925e161f1519e274a41 /libexec/mknetid | |
| parent | 93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (diff) | |
Notes
Diffstat (limited to 'libexec/mknetid')
| -rw-r--r-- | libexec/mknetid/mknetid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/mknetid/mknetid.c b/libexec/mknetid/mknetid.c index 81e3066c1e35..36bbfc4bfcf9 100644 --- a/libexec/mknetid/mknetid.c +++ b/libexec/mknetid/mknetid.c @@ -35,7 +35,7 @@ * Center for Telecommunications Research * Columbia University, New York City * - * $Id$ + * $Id: mknetid.c,v 1.6 1997/02/22 14:21:54 peter Exp $ */ #include <sys/types.h> @@ -55,7 +55,7 @@ #include "hash.h" #ifndef lint -static const char rcsid[] = "$Id$"; +static const char rcsid[] = "$Id: mknetid.c,v 1.6 1997/02/22 14:21:54 peter Exp $"; #endif #define LINSIZ 1024 @@ -111,7 +111,7 @@ main(argc, argv) char *ptr, *pidptr, *gidptr, *hptr; int quiet = 0; - while ((ch = getopt(argc, argv, "g:p:h:n:d:q")) != EOF) { + while ((ch = getopt(argc, argv, "g:p:h:n:d:q")) != -1) { switch(ch) { case 'g': groupfile = optarg; |
