=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/modstat/Attic/modstat.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/modstat/Attic/modstat.c 1996/08/06 18:17:22 1.6 --- src/usr.bin/modstat/Attic/modstat.c 1997/01/15 23:42:54 1.7 *************** *** 1,4 **** ! /* $OpenBSD: modstat.c,v 1.6 1996/08/06 18:17:22 deraadt Exp $ */ /* * Copyright (c) 1993 Terrence R. Lambert. --- 1,4 ---- ! /* $OpenBSD: modstat.c,v 1.7 1997/01/15 23:42:54 millert Exp $ */ /* * Copyright (c) 1993 Terrence R. Lambert. *************** *** 133,139 **** int modnum = -1; char *modname = NULL; ! while ((c = getopt(argc, argv, "i:n:")) != EOF) { switch (c) { case 'i': modnum = atoi(optarg); --- 133,139 ---- int modnum = -1; char *modname = NULL; ! while ((c = getopt(argc, argv, "i:n:")) != -1) { switch (c) { case 'i': modnum = atoi(optarg);