Sebastian Herbszt
2009-Sep-19 12:41 UTC
[syslinux] [RESEND][PATCH] pcitest: fix wrong statements about file locations
The module tries to access the files in the current directory. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> Index: syslinux-3.82-440-g6483c80/com32/modules/pcitest.c ==================================================================--- syslinux-3.82-440-g6483c80.orig/com32/modules/pcitest.c +++ syslinux-3.82-440-g6483c80/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"); }
Reasonably Related Threads
- [PATCH] pcitest: fix wrong statements about file locations
- [RESEND][PATCH] pcitest: fix wrong statements about file locations
- [PATCH] pci: rename get_module_name_from_pci_ids
- [PATCH] pcitest: fix compile warnings
- [PATCH 1/1]: Improving PCI collected informations