summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-03-21 17:43:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-03-21 17:43:49 +0000
commitf1d01d50403065899b15b4d326b3007e9b140d56 (patch)
tree5e0096c489bdc0389b20b161a1617190c58c4ced /usr.bin
parent94b926ae25f68cad0b19fcd4fe39e0e4bd760997 (diff)
getopt returns -1, not EOF.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cdio/cdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 5c58b39bfa4..835fd2187fd 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.21 2002/03/20 13:40:57 espie Exp $ */
+/* $OpenBSD: cdio.c,v 1.22 2002/03/21 17:43:48 espie Exp $ */
/*
* Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>.
* Based on the non-X based CD player by Jean-Marc Zucconi and
@@ -176,7 +176,7 @@ main(argc, argv)
for (;;) {
switch (getopt(argc, argv, "svf:")) {
- case EOF:
+ case -1:
break;
case 's':
verbose = 0;