Sebastian Herbszt
2008-Jun-16 20:04 UTC
[syslinux] pcitest: display "1 bus found" instead of "1 buses found"
Fix the text for pci_bus_list->count == 1 (1 bus found). - Sebastian Index: syslinux-20080615/com32/modules/pcitest.c ==================================================================--- syslinux-20080615.orig/com32/modules/pcitest.c 2008-06-16 21:45:00.000000000 +0200 +++ syslinux-20080615/com32/modules/pcitest.c 2008-06-16 21:47:10.000000000 +0200 @@ -93,7 +93,7 @@ } 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[])