aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2009-11-20 15:42:19 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-11-24 10:54:19 -0800
commit9269d2e170966ff455ea6141da13f9c5c5d484df (patch)
treeb69b4218f934db44c005c4d21110fad24ffadf3f /com32/modules
parent2672e142b4b69ab5161d24261812d3509cb8915b (diff)
downloadsyslinux.git-9269d2e170966ff455ea6141da13f9c5c5d484df.tar.gz
syslinux.git-9269d2e170966ff455ea6141da13f9c5c5d484df.tar.xz
syslinux.git-9269d2e170966ff455ea6141da13f9c5c5d484df.zip
pcitest: fix wrong statements about file location
Impact: Visual The module tries to access the files in the current directory. So this patch fixes the error message accordingly.
Diffstat (limited to 'com32/modules')
-rw-r--r--com32/modules/pcitest.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/com32/modules/pcitest.c b/com32/modules/pcitest.c
index 4e483083..ac3e5616 100644
--- a/com32/modules/pcitest.c
+++ b/com32/modules/pcitest.c
@@ -127,8 +127,7 @@ int main(int argc, char *argv[])
return_code = get_name_from_pci_ids(pci_domain, "pci.ids");
if (return_code == -ENOPCIIDS) {
printf("PCI: ERROR !\n");
- printf
- ("PCI: Unable to open pci.ids in the same directory as pcitest.c32.\n");
+ printf("PCI: Unable to open pci.ids file in current directory.\n");
printf("PCI: PCI Device names can't be computed.\n");
}
@@ -137,8 +136,7 @@ int main(int argc, char *argv[])
return_code = get_class_name_from_pci_ids(pci_domain, "pci.ids");
if (return_code == -ENOPCIIDS) {
printf("PCI: ERROR !\n");
- printf
- ("PCI: Unable to open pci.ids in the same directory as pcitest.c32.\n");
+ printf("PCI: Unable to open pci.ids file in current directory.\n");
printf("PCI: PCI class names can't be computed.\n");
}
@@ -147,8 +145,7 @@ int main(int argc, char *argv[])
return_code = get_module_name_from_pcimap(pci_domain, "modules.pcimap");
if (return_code == -ENOMODULESPCIMAP) {
printf("PCI: ERROR !\n");
- printf
- ("PCI: Unable to open modules.pcimap in the same directory as pcitest.c32.\n");
+ printf("PCI: Unable to open modules.pcimap file in current directory.\n");
printf("PCI: Kernel Module names can't be computed.\n");
}