summaryrefslogtreecommitdiff
path: root/src/common_device_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_device_name.c')
-rw-r--r--src/common_device_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c
index 8c73dbd..a990ac8 100644
--- a/src/common_device_name.c
+++ b/src/common_device_name.c
@@ -80,9 +80,9 @@ typedef FILE * pci_id_file;
static pci_id_file
pci_id_file_open(void)
{
+#ifndef __sun
pci_id_file result;
-#ifndef __sun
result = fopen(PCIIDS_PATH "/pci.ids", "re");
if (result)
return result;