View | Details | Raw Unified | Return to bug 23217
Collapse All | Expand All

(-)pciconf.c 2000/12/01 22:11:57 (-1 / +1 lines)
Lines 134-140 Link Here
134
       struct pci_conf conf[255], *p;
134
       struct pci_conf conf[255], *p;
135
       int none_count = 0;
135
       int none_count = 0;
136
136
137
       fd = open(_PATH_DEVPCI, O_RDWR, 0);
137
       fd = open(_PATH_DEVPCI, O_RDONLY, 0);
138
       if (fd < 0)
138
       if (fd < 0)
139
               err(1, "%s", _PATH_DEVPCI);
139
               err(1, "%s", _PATH_DEVPCI);

Return to bug 23217