diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 14:24:01 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 14:24:01 +0200 |
commit | 8404ebf1d44420f3e0d1d0b5653b3bd8b9fdaefc (patch) | |
tree | df31a4eec108c576e0b8b4390826c1e0e977f351 /plugins/sysinfo/pci.c | |
parent | 1e7d7101c612da4d1c21abdff85d8fe8e40e4416 (diff) |
Even more SysInfo fixes
Diffstat (limited to 'plugins/sysinfo/pci.c')
-rw-r--r-- | plugins/sysinfo/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sysinfo/pci.c b/plugins/sysinfo/pci.c index aba04e68..31df60f0 100644 --- a/plugins/sysinfo/pci.c +++ b/plugins/sysinfo/pci.c @@ -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; } |