This commit is contained in:
Michal Hlavinka 2009-02-27 20:09:13 +00:00
parent a499713bb5
commit 51c9b68b48
2 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c
if (!(f = pci_open(a)))
- return 0;
- err = id_parse_list(a, f, &lino);
+ return eci_new_load_name_list(a);
+ return pci_new_load_name_list(a);
+ err = id_parse_list(a, f, &lino, 0);
PCI_ERROR(f, err);
pci_close(f);

View File

@ -1,6 +1,6 @@
Name: pciutils
Version: 3.1.2
Release: 3%{?dist}
Release: 4%{?dist}
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
Patch1: pciutils-2.2.4-buf.patch
Patch2: pciutils-2.1.10-scan.patch
@ -112,6 +112,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 27 2009 Michal Hlavinka <mhlaivnk@redhat.com> - 3.1.2-4
- fix typo & rebuild
* Fri Feb 27 2009 Michal Hlavinka <mhlaivnk@redhat.com> - 3.1.2-3
- fix: lspci segfaults when pci.ids cannot be found (#487516)