diff options
Diffstat (limited to 'plugins/sysinfo/unix')
-rw-r--r-- | plugins/sysinfo/unix/pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/sysinfo/unix/pci.c b/plugins/sysinfo/unix/pci.c index 71b085fe..a887245c 100644 --- a/plugins/sysinfo/unix/pci.c +++ b/plugins/sysinfo/unix/pci.c @@ -122,11 +122,8 @@ void pci_find_fullname(char *fullname, char *vendor, char *device) char *position; int cardfound = 0; FILE *fp; - - if (!sysinfo_get_str_pref ("pciids", buffer)) - strcpy (buffer, DEFAULT_PCIIDS); - fp = fopen (buffer, "r"); + fp = fopen (PCIIDS_FILE, "r"); if(fp == NULL) { g_snprintf(fullname, bsize, "%s:%s", vendor, device); |