summaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos/newfs_msdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs_msdos/newfs_msdos.c')
-rw-r--r--sbin/newfs_msdos/newfs_msdos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c
index 11fc9e46874..5004b8650b5 100644
--- a/sbin/newfs_msdos/newfs_msdos.c
+++ b/sbin/newfs_msdos/newfs_msdos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs_msdos.c,v 1.3 1997/01/10 19:04:10 kstailey Exp $ */
+/* $OpenBSD: newfs_msdos.c,v 1.4 1997/01/15 23:41:32 millert Exp $ */
/*
* Copyright (c) 1995, 1996 Joerg Wunsch
@@ -205,7 +205,7 @@ main(argc, argv)
int c, i, fd, format = 0, rootdirsize;
char *rdev;
- while ((c = getopt(argc, argv, "s:L:t:")) != EOF)
+ while ((c = getopt(argc, argv, "s:L:t:")) != -1)
switch (c) {
case 's':
format = atoi(optarg);