projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a1107
)
pcitest: display "1 bus found" instead of "1 buses found"
author
Sebastian Herbszt
<herbszt@gmx.de>
Mon, 7 Jul 2008 20:28:16 +0000
(22:28 +0200)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 7 Jul 2008 21:27:51 +0000
(14:27 -0700)
Fix the text for pci_bus_list->count == 1 ("1 bus found").
- Sebastian
com32/modules/pcitest.c
patch
|
blob
|
history
diff --git
a/com32/modules/pcitest.c
b/com32/modules/pcitest.c
index
11dfd30
..
38ef251
100644
(file)
--- 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[])