summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/makedbm/makedbm.c6
-rw-r--r--usr.sbin/ypserv/mknetid/mknetid.c6
-rw-r--r--usr.sbin/ypserv/ypserv/ypserv.c6
-rw-r--r--usr.sbin/ypserv/ypxfr/ypxfr.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/ypserv/makedbm/makedbm.c b/usr.sbin/ypserv/makedbm/makedbm.c
index ca8acc57a82..a3f025be54e 100644
--- a/usr.sbin/ypserv/makedbm/makedbm.c
+++ b/usr.sbin/ypserv/makedbm/makedbm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: makedbm.c,v 1.4 1996/06/26 21:26:35 maja Exp $ */
+/* $OpenBSD: makedbm.c,v 1.5 1997/01/15 23:44:32 millert Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: makedbm.c,v 1.4 1996/06/26 21:26:35 maja Exp $";
+static char rcsid[] = "$OpenBSD: makedbm.c,v 1.5 1997/01/15 23:44:32 millert Exp $";
#endif
#include <stdio.h>
@@ -327,7 +327,7 @@ main (argc,argv)
aflag = uflag = bflag = lflag = sflag = 0;
infile = outfile = NULL;
- while ((ch = getopt(argc, argv, "blsui:o:m:d:")) != EOF)
+ while ((ch = getopt(argc, argv, "blsui:o:m:d:")) != -1)
switch (ch) {
case 'b':
bflag++;
diff --git a/usr.sbin/ypserv/mknetid/mknetid.c b/usr.sbin/ypserv/mknetid/mknetid.c
index e905ca6b972..46b859db8bc 100644
--- a/usr.sbin/ypserv/mknetid/mknetid.c
+++ b/usr.sbin/ypserv/mknetid/mknetid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mknetid.c,v 1.2 1996/05/30 09:53:09 deraadt Exp $ */
+/* $OpenBSD: mknetid.c,v 1.3 1997/01/15 23:44:33 millert Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: mknetid.c,v 1.2 1996/05/30 09:53:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mknetid.c,v 1.3 1997/01/15 23:44:33 millert Exp $";
#endif
#include <sys/param.h>
@@ -537,7 +537,7 @@ char *argv[];
qflag = usage = 0;
domain = NULL;
- while ((ch = getopt(argc, argv, "d:g:h:m:p:q")) != EOF)
+ while ((ch = getopt(argc, argv, "d:g:h:m:p:q")) != -1)
switch (ch) {
case 'd':
domain = optarg;
diff --git a/usr.sbin/ypserv/ypserv/ypserv.c b/usr.sbin/ypserv/ypserv/ypserv.c
index b9434dacf85..a6d7fc5ba45 100644
--- a/usr.sbin/ypserv/ypserv/ypserv.c
+++ b/usr.sbin/ypserv/ypserv/ypserv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypserv.c,v 1.6 1996/10/02 23:44:56 deraadt Exp $ */
+/* $OpenBSD: ypserv.c,v 1.7 1997/01/15 23:44:34 millert Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypserv.c,v 1.6 1996/10/02 23:44:56 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypserv.c,v 1.7 1997/01/15 23:44:34 millert Exp $";
#endif
#include "yp.h"
@@ -246,7 +246,7 @@ char *argv[];
int ch;
extern char *optarg;
- while ((ch = getopt(argc, argv, "a:dx")) != EOF)
+ while ((ch = getopt(argc, argv, "a:dx")) != -1)
switch (ch) {
case 'a':
aclfile = optarg;
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr.c b/usr.sbin/ypserv/ypxfr/ypxfr.c
index 7bf5665adef..72fb12b07d3 100644
--- a/usr.sbin/ypserv/ypxfr/ypxfr.c
+++ b/usr.sbin/ypserv/ypxfr/ypxfr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypxfr.c,v 1.10 1996/12/24 19:28:03 deraadt Exp $ */
+/* $OpenBSD: ypxfr.c,v 1.11 1997/01/15 23:44:35 millert Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.10 1996/12/24 19:28:03 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.11 1997/01/15 23:44:35 millert Exp $";
#endif
#include <stdio.h>
@@ -464,7 +464,7 @@ char *argv[];
yp_get_default_domain(&domain);
- while ((ch = getopt(argc, argv, "cd:fh:s:C:")) != EOF)
+ while ((ch = getopt(argc, argv, "cd:fh:s:C:")) != -1)
switch (ch) {
case 'c':
cflag++;