From dd42da9e9065ba35e052547aee041b940278f286 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Thu, 16 Mar 2000 17:33:04 +0000 Subject: [PATCH] correct getopt() optstring: -A gets a parameter! --- sbin/modload/modload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index 0834124a1f6b..14001cdcdbe2 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -1,4 +1,4 @@ -/* $NetBSD: modload.c,v 1.26 2000/02/27 00:20:20 deberg Exp $ */ +/* $NetBSD: modload.c,v 1.27 2000/03/16 17:33:04 jdolecek Exp $ */ /* * Copyright (c) 1993 Terrence R. Lambert. @@ -34,7 +34,7 @@ #include #ifndef lint -__RCSID("$NetBSD: modload.c,v 1.26 2000/02/27 00:20:20 deberg Exp $"); +__RCSID("$NetBSD: modload.c,v 1.27 2000/03/16 17:33:04 jdolecek Exp $"); #endif /* not lint */ #include @@ -229,7 +229,7 @@ main(int argc, char **argv) void* modentry; /* XXX */ int noready = 0, old = 0; - while ((c = getopt(argc, argv, "dnvsASe:p:o:")) != -1) { + while ((c = getopt(argc, argv, "dnvsA:Se:p:o:")) != -1) { switch (c) { case 'd': debug = 1;