=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/newsyslog/newsyslog.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/newsyslog/newsyslog.c 1996/12/07 08:00:45 1.7 --- src/usr.bin/newsyslog/newsyslog.c 1997/01/15 23:42:56 1.8 *************** *** 1,4 **** ! /* $OpenBSD: newsyslog.c,v 1.7 1996/12/07 08:00:45 deraadt Exp $ */ /* * This file contains changes from the Open Software Foundation. --- 1,4 ---- ! /* $OpenBSD: newsyslog.c,v 1.8 1997/01/15 23:42:56 millert Exp $ */ /* * This file contains changes from the Open Software Foundation. *************** *** 29,35 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.7 1996/12/07 08:00:45 deraadt Exp $"; #endif /* not lint */ #ifndef CONF --- 29,35 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.8 1997/01/15 23:42:56 millert Exp $"; #endif /* not lint */ #ifndef CONF *************** *** 199,205 **** } optind = 1; /* Start options parsing */ ! while ((c=getopt(argc,argv,"nrvf:t:")) != EOF) switch (c) { case 'n': noaction++; /* This implies needroot as off */ --- 199,205 ---- } optind = 1; /* Start options parsing */ ! while ((c = getopt(argc,argv,"nrvf:t:")) != -1) switch (c) { case 'n': noaction++; /* This implies needroot as off */