diff options
Diffstat (limited to 'src/common_device_name.c')
-rw-r--r-- | src/common_device_name.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c index 3dd35d7..4ca8cd1 100644 --- a/src/common_device_name.c +++ b/src/common_device_name.c @@ -86,6 +86,9 @@ pci_id_file_open(void) result = fopen(PCIIDS_PATH "/pci.ids", "re"); if (result) return result; +#ifdef __FreeBSD__ + return fopen("/usr/share/misc/pci_vendors", "re"); +#endif #endif return fopen(PCIIDS_PATH "/pci.ids", "r"); |