Sebastian Herbszt
2009-Nov-18 21:26 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.84-pre3/com32/modules/pcitest.c ==================================================================--- syslinux-3.84-pre3.orig/com32/modules/pcitest.c +++ syslinux-3.84-pre3/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"); }
Erwan Velu
2009-Nov-20 14:47 UTC
[syslinux] [RESEND][PATCH] pcitest: fix wrong statements about file locations
Sebastian Herbszt a ?crit :> The module tries to access the files in the current directory. > > Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> >Thanks Sebastian for this patch. I've been opening a contributor repository in sync with hpa's master. My contrib repo is made for housing contributor's patches before inclusion in hpa's master. I did that repo as an helper, its role is just saving hpa's time. Peter, please found sebastian commit here : http://git.zytor.com/?p=users/erwan/contrib.git;a=commit;h=a64ad15d8eaf58eb73b1ce420e07079df0df73b2 Cheers, Erwan
Seemingly Similar 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 1/1]: Improving PCI collected informations
- [PATCH] pcitest: fix compile warnings