diff options
author | ru <ru@FreeBSD.org> | 2008-02-19 07:09:19 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-02-19 07:09:19 +0000 |
commit | 2aa5a61fd32c181b70181233740e601e8d759d8d (patch) | |
tree | 578506eede3120635d7308f1fed95a1c6147a49a /usr.sbin/cdcontrol/cdcontrol.c | |
parent | 82432917a301545733ec74d5c38248d1009e3e9d (diff) | |
download | FreeBSD-src-2aa5a61fd32c181b70181233740e601e8d759d8d.zip FreeBSD-src-2aa5a61fd32c181b70181233740e601e8d759d8d.tar.gz |
getopt(3) returns -1, not EOF.
Diffstat (limited to 'usr.sbin/cdcontrol/cdcontrol.c')
-rw-r--r-- | usr.sbin/cdcontrol/cdcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c index 040106f..eb914cf 100644 --- a/usr.sbin/cdcontrol/cdcontrol.c +++ b/usr.sbin/cdcontrol/cdcontrol.c @@ -190,7 +190,7 @@ int main (int argc, char **argv) for (;;) { switch (getopt (argc, argv, "svhf:")) { - case EOF: + case -1: break; case 's': verbose = 0; |