diff options
author | wpaul <wpaul@FreeBSD.org> | 2003-12-11 23:30:36 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2003-12-11 23:30:36 +0000 |
commit | 128923bf9081b2d636b01757c47661b4c632c29d (patch) | |
tree | 92b14c64c10ca8fe8a3fee8537b1e9385dc38532 | |
parent | df43a2fd364495a9f710d01273840522aeb86ef7 (diff) | |
download | FreeBSD-src-128923bf9081b2d636b01757c47661b4c632c29d.zip FreeBSD-src-128923bf9081b2d636b01757c47661b4c632c29d.tar.gz |
Fix getopt() string so -o works.
-rw-r--r-- | usr.sbin/ndiscvt/ndiscvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ndiscvt/ndiscvt.c b/usr.sbin/ndiscvt/ndiscvt.c index e307595..a29edc4 100644 --- a/usr.sbin/ndiscvt/ndiscvt.c +++ b/usr.sbin/ndiscvt/ndiscvt.c @@ -171,7 +171,7 @@ main(int argc, char *argv[]) char *inffile = NULL, *sysfile = NULL, *outfile = NULL; int ch; - while((ch = getopt(argc, argv, "i:s:o")) != -1) { + while((ch = getopt(argc, argv, "i:s:o:")) != -1) { switch(ch) { case 'i': inffile = optarg; |