]> mj.ucw.cz Git - pciutils.git/commitdiff
Incorrect error message fixed.
authorMartin Mares <mj@ucw.cz>
Fri, 26 Dec 2003 20:09:21 +0000 (20:09 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:18:08 +0000 (14:18 +0200)
lspci.c (main): The error message for `lspci -s' incorrectly mentioned
a `-f' switch. Reported by Steve Finney <Steve.Finney@SpirentCom.COM>.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-6

ChangeLog
lspci.c

index 8ef4414acaf08d30ce45489551246556dace91fc..22ecb22299014f0942aee87d113577d300ea05a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-12-26  Martin Mares  <mj@ucw.cz>
 
+       * lspci.c (main): The error message for `lspci -s' incorrectly mentioned
+       a `-f' switch. Reported by Steve Finney <Steve.Finney@SpirentCom.COM>.
+
        * lib/generic.c: Removed memory leak in pci_generic_bus_scan().
        Reported by Gary Parnes <gary_parnes@terago.com>.
 
diff --git a/lspci.c b/lspci.c
index 14c2ffa6c7695aebd9f1cc189a1a7e9b9ea91ad8..01f0062bf3e0c7c68d4a6a42a55f85aee69e2449 100644 (file)
--- a/lspci.c
+++ b/lspci.c
@@ -1517,7 +1517,7 @@ main(int argc, char **argv)
        break;
       case 's':
        if (msg = pci_filter_parse_slot(&filter, optarg))
-         die("-f: %s", msg);
+         die("-s: %s", msg);
        break;
       case 'd':
        if (msg = pci_filter_parse_id(&filter, optarg))