diff options
Diffstat (limited to 'sys/arch/alpha/pci/pci_kn20aa.c')
-rw-r--r-- | sys/arch/alpha/pci/pci_kn20aa.c | 4 |
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); } |