From: Martin Mares Date: Fri, 26 Dec 2003 20:09:21 +0000 (+0000) Subject: Incorrect error message fixed. X-Git-Tag: v3.0.0~159 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b7fd8e194bba7576b2408f70b548b16638947770;p=pciutils.git Incorrect error message fixed. lspci.c (main): The error message for `lspci -s' incorrectly mentioned a `-f' switch. Reported by Steve Finney . git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-6 --- diff --git a/ChangeLog b/ChangeLog index 8ef4414..22ecb22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-12-26 Martin Mares + * lspci.c (main): The error message for `lspci -s' incorrectly mentioned + a `-f' switch. Reported by Steve Finney . + * lib/generic.c: Removed memory leak in pci_generic_bus_scan(). Reported by Gary Parnes . diff --git a/lspci.c b/lspci.c index 14c2ffa..01f0062 100644 --- 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))