summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pci_kn20aa.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_kn20aa.c
parent3feefc3c4b3f125fc274b71cfe392f9151b9a489 (diff)
string cleaning; ok beck dhartmei
Diffstat (limited to 'sys/arch/alpha/pci/pci_kn20aa.c')
-rw-r--r--sys/arch/alpha/pci/pci_kn20aa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_kn20aa.c b/sys/arch/alpha/pci/pci_kn20aa.c
index 51617e4c8db..dec0ee5bd47 100644
--- a/sys/arch/alpha/pci/pci_kn20aa.c
+++ b/sys/arch/alpha/pci/pci_kn20aa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_kn20aa.c,v 1.18 2002/03/14 03:15:50 millert Exp $ */
+/* $OpenBSD: pci_kn20aa.c,v 1.19 2003/05/10 21:11:12 deraadt Exp $ */
/* $NetBSD: pci_kn20aa.c,v 1.21 1996/11/17 02:05:27 cgd Exp $ */
/*
@@ -187,7 +187,7 @@ dec_kn20aa_intr_string(ccv, ih)
if (ih > KN20AA_MAX_IRQ)
panic("dec_kn20aa_intr_string: bogus kn20aa IRQ 0x%x", ih);
- sprintf(irqstr, "kn20aa irq %ld", ih);
+ snprintf(irqstr, sizeof irqstr, "kn20aa irq %ld", ih);
return (irqstr);
}