summaryrefslogtreecommitdiff
path: root/usr.sbin/ssio/use_adf.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-23 17:19:25 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-23 17:19:25 +0000
commit5d08734a5b3d621dfd1d78fa4e113f91bde28818 (patch)
tree52aa3b410719e56423a92a9ab98f8a11e62df786 /usr.sbin/ssio/use_adf.c
parentc392499dddf5d594aff961f2059d4c3d007889bf (diff)
getopt(3) returns -1, not EOF
Diffstat (limited to 'usr.sbin/ssio/use_adf.c')
-rw-r--r--usr.sbin/ssio/use_adf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ssio/use_adf.c b/usr.sbin/ssio/use_adf.c
index d95f6d1c430..fa94b41c42d 100644
--- a/usr.sbin/ssio/use_adf.c
+++ b/usr.sbin/ssio/use_adf.c
@@ -1,4 +1,4 @@
-static char *rcs_id = "$Id: use_adf.c,v 1.2 1997/08/30 07:55:17 matthieu Exp $";
+static char *rcs_id = "$Id: use_adf.c,v 1.3 1999/05/23 17:19:23 aaron Exp $";
/*
* Copyright (c) 1995 Kenneth Stailey
* All rights reserved.
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
extern int errno;
- while ((c = getopt(argc, argv, "l:")) != EOF) {
+ while ((c = getopt(argc, argv, "l:")) != -1) {
switch (c) {
case 'l':
logical_name = optarg;