Even more SysInfo fixes

This commit is contained in:
Berke Viktor
2012-10-21 14:24:01 +02:00
parent 1e7d7101c6
commit 8404ebf1d4
4 changed files with 138 additions and 36 deletions

View File

@ -120,7 +120,8 @@ void pci_find_fullname(char *fullname, char *vendor, char *device)
FILE *fp = fopen (buffer, "r");
if(fp == NULL) {
snprintf(fullname, bsize, "%s:%s", vendor, device);
snprintf(fullname, bsize, "%s:%s", vendor, device);
sysinfo_print_error ("pci.ids file not found! You might want to adjust your pciids setting with /SYSINFO SET pciids (you can query its current value with /SYSINFO LIST).\n");
return;
}