From b7fd8e194bba7576b2408f70b548b16638947770 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 26 Dec 2003 20:09:21 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ lspci.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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)) -- 2.39.2