summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-12-11 23:30:36 +0000
committerwpaul <wpaul@FreeBSD.org>2003-12-11 23:30:36 +0000
commit128923bf9081b2d636b01757c47661b4c632c29d (patch)
tree92b14c64c10ca8fe8a3fee8537b1e9385dc38532 /usr.sbin
parentdf43a2fd364495a9f710d01273840522aeb86ef7 (diff)
downloadFreeBSD-src-128923bf9081b2d636b01757c47661b4c632c29d.zip
FreeBSD-src-128923bf9081b2d636b01757c47661b4c632c29d.tar.gz
Fix getopt() string so -o works.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ndiscvt/ndiscvt.c2
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;
OpenPOWER on IntegriCloud