summaryrefslogtreecommitdiff
path: root/sbin/mount_procfs/mount_procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_procfs/mount_procfs.c')
-rw-r--r--sbin/mount_procfs/mount_procfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount_procfs/mount_procfs.c b/sbin/mount_procfs/mount_procfs.c
index 55fa0bdf3ab..f03ec7d76d6 100644
--- a/sbin/mount_procfs/mount_procfs.c
+++ b/sbin/mount_procfs/mount_procfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_procfs.c,v 1.3 1996/06/23 14:31:38 deraadt Exp $ */
+/* $OpenBSD: mount_procfs.c,v 1.4 1997/01/15 23:41:25 millert Exp $ */
/* $NetBSD: mount_procfs.c,v 1.7 1996/04/13 01:31:59 jtc Exp $ */
/*
@@ -48,7 +48,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_procfs.c 8.3 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_procfs.c,v 1.3 1996/06/23 14:31:38 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mount_procfs.c,v 1.4 1997/01/15 23:41:25 millert Exp $";
#endif
#endif /* not lint */
@@ -78,7 +78,7 @@ main(argc, argv)
int ch, mntflags;
mntflags = 0;
- while ((ch = getopt(argc, argv, "o:")) != EOF)
+ while ((ch = getopt(argc, argv, "o:")) != -1)
switch (ch) {
case 'o':
getmntopts(optarg, mopts, &mntflags);