=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/main.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/systat/main.c 1996/12/22 03:26:07 1.8 --- src/usr.bin/systat/main.c 1997/01/15 23:43:17 1.9 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.8 1996/12/22 03:26:07 tholo Exp $ */ /* $NetBSD: main.c,v 1.8 1996/05/10 23:16:36 thorpej Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.9 1997/01/15 23:43:17 millert Exp $ */ /* $NetBSD: main.c,v 1.8 1996/05/10 23:16:36 thorpej Exp $ */ /*- *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: main.c,v 1.8 1996/12/22 03:26:07 tholo Exp $"; #endif /* not lint */ #include --- 44,50 ---- #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: main.c,v 1.9 1997/01/15 23:43:17 millert Exp $"; #endif /* not lint */ #include *************** *** 97,103 **** int ch; char errbuf[_POSIX2_LINE_MAX]; ! while ((ch = getopt(argc, argv, "M:N:w:")) != EOF) switch(ch) { case 'M': memf = optarg; --- 97,103 ---- int ch; char errbuf[_POSIX2_LINE_MAX]; ! while ((ch = getopt(argc, argv, "M:N:w:")) != -1) switch(ch) { case 'M': memf = optarg;