diff options
author | Sebastian Herbszt <herbszt@gmx.de> | 2008-07-07 22:28:16 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-07 14:27:51 -0700 |
commit | 4ffdc079cdbd5e752f7efd83c19d8c057dfcc47b (patch) | |
tree | 59bdf706896d4b7fe7e4f476ce5f9c2d56e169da | |
parent | 16a11070a8bdf715c3683ea585bdb68398429e82 (diff) | |
download | syslinux-4ffdc079cdbd5e752f7efd83c19d8c057dfcc47b.tar.gz |
pcitest: display "1 bus found" instead of "1 buses found"
Fix the text for pci_bus_list->count == 1 ("1 bus found").
- Sebastian
-rw-r--r-- | com32/modules/pcitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/pcitest.c b/com32/modules/pcitest.c index 11dfd301..38ef2512 100644 --- a/com32/modules/pcitest.c +++ b/com32/modules/pcitest.c @@ -93,7 +93,7 @@ void display_pci_bus(struct pci_bus_list *pci_bus_list, bool display_pci_devices } printf("PCI: %d bus%s found\n", pci_bus_list->count, - pci_bus_list->count == 1 ? "es" : ""); + pci_bus_list->count == 1 ? "" : "es"); } int main(int argc, char *argv[]) |