pciutils/pciutils-2.1.10-scan.patch
cvsdist 8b8f09f037 auto-import changelog data from pciutils-2.1.10-7.src.rpm
Wed Feb 12 2003 Bill Nottingham <notting@redhat.com>
- don't segfault when there's no pci bus (#84146)
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 2.1.10-5
- Add patch4 for ppc64. The basic rule seems to be that on any platform
    where it is possible to be running a 64-bit kernel, we need to always
    print out 64-bit addresses.
Mon Nov 04 2002 Bill Nottingham <notting@redhat.com> 2.1.10-4
- fix dir perms on /usr/include/pci
Tue Oct 15 2002 Bill Nottingham <notting@redhat.com> 2.1.10-3
- use %{_libdir}
- own /usr/include/pci
- build library with -fPIC
2004-09-09 10:00:52 +00:00

13 lines
277 B
Diff

--- pciutils-2.1.10/lib/access.c.foo Wed Feb 12 15:44:05 2003
+++ pciutils-2.1.10/lib/access.c Wed Feb 12 15:44:33 2003
@@ -180,7 +180,8 @@
void
pci_scan_bus(struct pci_access *a)
{
- a->methods->scan(a);
+ if (a->methods)
+ a->methods->scan(a);
}
struct pci_dev *