summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vipw/vipw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vipw/vipw.c')
-rw-r--r--usr.sbin/vipw/vipw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c
index 4b603e8d294..6308bc92299 100644
--- a/usr.sbin/vipw/vipw.c
+++ b/usr.sbin/vipw/vipw.c
@@ -67,7 +67,7 @@ main(argc, argv)
struct stat begin, end;
int ch;
- while ((ch = getopt(argc, argv, "")) != EOF) {
+ while ((ch = getopt(argc, argv, "")) != -1) {
switch (ch) {
case '?':
default: