summaryrefslogtreecommitdiff
path: root/usr.sbin/pcictl
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2004-04-24 13:41:51 +0000
committerkleink <kleink@NetBSD.org>2004-04-24 13:41:51 +0000
commit9ef6a94e02554172b898b75598c2f8f5148113d2 (patch)
tree5386b3cc38f019545359b316351f797ca45332a1 /usr.sbin/pcictl
parentd75fa2749fb9cbbf77d926b8f8c5856ee7a1875a (diff)
Update for new pci_devinfo(3) signature.
Diffstat (limited to 'usr.sbin/pcictl')
-rw-r--r--usr.sbin/pcictl/pcictl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pcictl/pcictl.c b/usr.sbin/pcictl/pcictl.c
index 9cf48884ab7..12763ca38c3 100644
--- a/usr.sbin/pcictl/pcictl.c
+++ b/usr.sbin/pcictl/pcictl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pcictl.c,v 1.7 2004/01/05 23:23:38 jmmv Exp $ */
+/* $NetBSD: pcictl.c,v 1.8 2004/04/24 13:41:51 kleink Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -313,7 +313,7 @@ scan_pci_list(u_int bus, u_int dev, u_int func)
if (pcibus_conf_read(pcifd, bus, dev, func, PCI_CLASS_REG, &class) != 0)
return;
- pci_devinfo(id, class, 1, devinfo);
+ pci_devinfo(id, class, 1, devinfo, sizeof(devinfo));
printf("%03u:%02u:%01u: %s\n", bus, dev, func, devinfo);
}