From d1d2442b6cd10e3735c3424f12eaae0962401cbc Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Aug 05 2009 18:22:12 +0000 Subject: - D'oh. Fix obvious sense inversion in the previous patch. --- diff --git a/libpciaccess-0.10.6-rom-sanity.patch b/libpciaccess-0.10.6-rom-sanity.patch index f419ef8..dfe1a9f 100644 --- a/libpciaccess-0.10.6-rom-sanity.patch +++ b/libpciaccess-0.10.6-rom-sanity.patch @@ -37,5 +37,5 @@ diff -up libpciaccess-0.10.6/src/linux_devmem.c.jx libpciaccess-0.10.6/src/linux } - return err; -+ return rom_sanity_check(dev, buffer); ++ return !rom_sanity_check(dev, buffer); } diff --git a/libpciaccess.spec b/libpciaccess.spec index 0d0fc82..931e221 100644 --- a/libpciaccess.spec +++ b/libpciaccess.spec @@ -3,7 +3,7 @@ Name: libpciaccess Version: 0.10.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: PCI access library Group: System Environment/Libraries @@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/pciaccess.pc %changelog +* Wed Aug 05 2009 Adam Jackson 0.10.6-6 +- D'oh. Fix obvious sense inversion in the previous patch. + * Wed Aug 05 2009 Adam Jackson 0.10.6-5 - libpciaccess-0.10.6-rom-sanity.patch: If we hit the /dev/mem path for reading a device's ROM, verify that it looks like it at least might belong