Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pcictl Fix missing : in a getopt() string.



details:   https://anonhg.NetBSD.org/src/rev/3371381305e9
branches:  trunk
changeset: 514951:3371381305e9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Sep 14 17:28:36 2001 +0000

description:
Fix missing : in a getopt() string.

diffstat:

 usr.sbin/pcictl/pcictl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2391ea9736b5 -r 3371381305e9 usr.sbin/pcictl/pcictl.c
--- a/usr.sbin/pcictl/pcictl.c  Fri Sep 14 17:22:52 2001 +0000
+++ b/usr.sbin/pcictl/pcictl.c  Fri Sep 14 17:28:36 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcictl.c,v 1.1 2001/09/13 23:51:04 thorpej Exp $       */
+/*     $NetBSD: pcictl.c,v 1.2 2001/09/14 17:28:36 thorpej Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -196,7 +196,7 @@
        func = 0;
        dev = -1;
 
-       while ((ch = getopt(argc, argv, "b:d:f")) != -1) {
+       while ((ch = getopt(argc, argv, "b:d:f:")) != -1) {
                switch (ch) {
                case 'b':
                        bus = parse_bdf(optarg);



Home | Main Index | Thread Index | Old Index