summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pci_550.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-11 19:41:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-11 19:41:13 +0000
commitd6d7c738346239a3c708dc0978911e106ff464ef (patch)
treebc43e8e3f9316ebb64d8b2b82353eeccf749cf26 /sys/arch/alpha/pci/pci_550.c
parent0b07ddfee5e2e357a1085b59936307292adeacfe (diff)
string cleaning; krw ok
Diffstat (limited to 'sys/arch/alpha/pci/pci_550.c')
-rw-r--r--sys/arch/alpha/pci/pci_550.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_550.c b/sys/arch/alpha/pci/pci_550.c
index e2814c0a63f..e7046bab335 100644
--- a/sys/arch/alpha/pci/pci_550.c
+++ b/sys/arch/alpha/pci/pci_550.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_550.c,v 1.10 2002/06/25 21:33:21 miod Exp $ */
+/* $OpenBSD: pci_550.c,v 1.11 2003/05/11 19:41:09 deraadt Exp $ */
/* $NetBSD: pci_550.c,v 1.18 2000/06/29 08:58:48 mrg Exp $ */
/*-
@@ -286,7 +286,7 @@ dec_550_intr_string(ccv, ih)
if (ih >= DEC_550_MAX_IRQ)
panic("dec_550_intr_string: bogus 550 IRQ 0x%lx", ih);
- sprintf(irqstr, "dec 550 irq %ld", ih);
+ snprintf(irqstr, sizeof irqstr, "dec 550 irq %ld", ih);
return (irqstr);
}