Skip to content

Commit 24467e8

Browse files
committed
GPU (BSD): always use pci.ids provided by hwdata
Fixes #1924
1 parent 6867b87 commit 24467e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/detection/gpu/gpu_pci.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ static const FFstrbuf* loadPciIds()
4545
if (pciids.length == 0)
4646
ffReadFileBuffer(FASTFETCH_TARGET_DIR_USR "/local/share/hwdata/pci.ids", &pciids);
4747
}
48-
#elif __FreeBSD__ || __NetBSD__
49-
ffReadFileBuffer(_PATH_LOCALBASE "/share/pciids/pci.ids", &pciids);
50-
#elif __OpenBSD__
48+
#elif __OpenBSD__ || __FreeBSD__ || __NetBSD__
5149
ffReadFileBuffer(_PATH_LOCALBASE "/share/hwdata/pci.ids", &pciids);
5250
#elif __sun
5351
ffReadFileBuffer(FASTFETCH_TARGET_DIR_ROOT "/usr/share/hwdata/pci.ids", &pciids);

0 commit comments

Comments
 (0)