summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-04-27 11:22:55 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-04-27 11:22:55 +0000
commitc670c56d6bb9915caf18009083d3515283a25fe1 (patch)
treeffee78ad4ad468acbebd70d511be258d28fdbd52 /sys/arch/i386/pci
parentc9c7d16545b1bfad4519f491aa113a57ab7c7b2d (diff)
strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r--sys/arch/i386/pci/pci_intr_fixup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_intr_fixup.c b/sys/arch/i386/pci/pci_intr_fixup.c
index 465d1bec5c8..3df5b0600eb 100644
--- a/sys/arch/i386/pci/pci_intr_fixup.c
+++ b/sys/arch/i386/pci/pci_intr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_intr_fixup.c,v 1.24 2002/05/30 15:52:09 mickey Exp $ */
+/* $OpenBSD: pci_intr_fixup.c,v 1.25 2003/04/27 11:22:52 ho Exp $ */
/* $NetBSD: pci_intr_fixup.c,v 1.10 2000/08/10 21:18:27 soda Exp $ */
/*
@@ -805,7 +805,8 @@ pci_intr_fixup(sc, pc, iot)
PIR_DEVFUNC_DEVICE(pirh->router_devfunc),
PIR_DEVFUNC_FUNCTION(pirh->router_devfunc));
if (pirh->compat_router != 0) {
- pci_devinfo(pirh->compat_router, 0, 0, devinfo);
+ pci_devinfo(pirh->compat_router, 0, 0, devinfo,
+ sizeof devinfo);
printf(" (%s)", devinfo);
}
printf("\n");