]> mj.ucw.cz Git - pciutils.git/commitdiff
Arguments now correspond to the format string
authorMartin Mares <mj@ucw.cz>
Sun, 11 Jul 2004 22:00:54 +0000 (22:00 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:18:22 +0000 (14:18 +0200)
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-56

ChangeLog
lib/sysfs.c

index f78bad21c0a998a3928053b643b7398c329395d8..5821b5a5fb2e197fdd74e9d966652f80578610db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-11  Martin Mares  <mj@ucw.cz>
+
+       * lib/sysfs.c (sysfs_get_resources): Arguments now correspond
+       to the format string. [Patch by Bill Nottingham]
+
 2004-07-05  Martin Mares  <mj@ucw.cz>
 
        * Released as 2.1.99-test7.
index 0cdfe9ab9b75d50b53d2b3043420dd4633bb6a59..bd93a42c2a70e9dfa9f037e08490fae5054c3172 100644 (file)
@@ -115,7 +115,7 @@ sysfs_get_resources(struct pci_dev *d)
       if (start != (unsigned long long)(pciaddr_t) start ||
          end != (unsigned long long)(pciaddr_t) end)
        {
-         a->warning("Resource %d in %s has a 64-bit address, ignoring", namebuf);
+         a->warning("Resource %d in %s has a 64-bit address, ignoring", i, namebuf);
          start = end = 0;
        }
       if (start)