diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-01-11 06:41:32 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-01-11 06:41:32 +0000 |
| commit | 95d50652d0e6c2620f1b1d2b1a316896f95d078c (patch) | |
| tree | ed9b064fa7c0d0e0e9c1e89763b638cffbd236e6 /sys/boot/common/module.c | |
| parent | a79658408cb5bd67da5f09224af8011736de2ee3 (diff) | |
Notes
Diffstat (limited to 'sys/boot/common/module.c')
| -rw-r--r-- | sys/boot/common/module.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c index 5b0d547af069..141a8ed32f66 100644 --- a/sys/boot/common/module.c +++ b/sys/boot/common/module.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: module.c,v 1.5 1998/09/26 10:51:38 dfr Exp $ + * $Id: module.c,v 1.6 1998/10/09 23:12:34 peter Exp $ */ /* @@ -72,6 +72,7 @@ command_load(int argc, char *argv[]) dofile = 0; optind = 1; + optreset = 1; typestr = NULL; while ((ch = getopt(argc, argv, "t:")) != -1) { switch(ch) { @@ -133,6 +134,7 @@ command_lsmod(int argc, char *argv[]) verbose = 0; optind = 1; + optreset = 1; while ((ch = getopt(argc, argv, "v")) != -1) { switch(ch) { case 'v': |
