summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pci_eb164.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-10 21:11:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-10 21:11:15 +0000
commit607ced2a9825cfbbaa96cea1eeeb0ffa4c3a73a9 (patch)
treea0748894e4753ac59df5b3f28ac342b4b8e01e95 /sys/arch/alpha/pci/pci_eb164.c
parent3feefc3c4b3f125fc274b71cfe392f9151b9a489 (diff)
string cleaning; ok beck dhartmei
Diffstat (limited to 'sys/arch/alpha/pci/pci_eb164.c')
-rw-r--r--sys/arch/alpha/pci/pci_eb164.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_eb164.c b/sys/arch/alpha/pci/pci_eb164.c
index a26f1bd4e4c..8be7804db6e 100644
--- a/sys/arch/alpha/pci/pci_eb164.c
+++ b/sys/arch/alpha/pci/pci_eb164.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_eb164.c,v 1.14 2002/03/14 03:15:50 millert Exp $ */
+/* $OpenBSD: pci_eb164.c,v 1.15 2003/05/10 21:11:12 deraadt Exp $ */
/* $NetBSD: pci_eb164.c,v 1.27 2000/06/06 00:50:15 thorpej Exp $ */
/*-
@@ -253,7 +253,7 @@ dec_eb164_intr_string(ccv, ih)
if (ih > EB164_MAX_IRQ)
panic("dec_eb164_intr_string: bogus eb164 IRQ 0x%lx", ih);
- sprintf(irqstr, "eb164 irq %ld", ih);
+ snprintf(irqstr, sizeof irqstr, "eb164 irq %ld", ih);
return (irqstr);
}