From: Geert Uytterhoeven Date: Mon, 25 Jan 1999 22:10:45 +0000 (+0000) Subject: Add missing final argument to a->debug() call. X-Git-Tag: v3.0.0~295 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3aa2523f523f759f695b0bbe4cf615f8b8021631;p=pciutils.git Add missing final argument to a->debug() call. BTW, how do you add a __attribute__ ((format (printf, 1, 2))) to a function pointer? Bugs like these would show up much sooner... --- diff --git a/lib/generic.c b/lib/generic.c index 2ac30bd..11dc121 100644 --- a/lib/generic.c +++ b/lib/generic.c @@ -1,5 +1,5 @@ /* - * $Id: generic.c,v 1.1 1999/01/22 21:05:24 mj Exp $ + * $Id: generic.c,v 1.2 1999/01/25 22:10:45 geert Exp $ * * The PCI Library -- Generic Direct Access Functions * @@ -59,7 +59,7 @@ pci_generic_scan_bus(struct pci_access *a, byte *busmap, int bus) pci_generic_scan_bus(a, busmap, pci_read_byte(t, PCI_SECONDARY_BUS)); break; default: - a->debug("Device %02x:%02x.%d has unknown header type %02x.\n", d->bus, d->dev, d->func); + a->debug("Device %02x:%02x.%d has unknown header type %02x.\n", d->bus, d->dev, d->func, ht); } if (!multi) break;