From c670c56d6bb9915caf18009083d3515283a25fe1 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Sun, 27 Apr 2003 11:22:55 +0000 Subject: strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit. --- sys/dev/pci/fwlynx_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/pci/fwlynx_pci.c') diff --git a/sys/dev/pci/fwlynx_pci.c b/sys/dev/pci/fwlynx_pci.c index e9f1fc70dca..5486e5b039f 100644 --- a/sys/dev/pci/fwlynx_pci.c +++ b/sys/dev/pci/fwlynx_pci.c @@ -90,7 +90,7 @@ fwlynx_pci_attach(struct device *parent, struct device *self, void *aux) pci_intr_handle_t ih; u_int32_t csr; - pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo); + pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo, sizeof devinfo); printf(": %s (rev. 0x%02x)\n", devinfo, PCI_REVISION(pa->pa_class)); psc->psc_sc.sc_dmat = pa->pa_dmat; -- cgit v1.2.3