From d6d7c738346239a3c708dc0978911e106ff464ef Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 11 May 2003 19:41:13 +0000 Subject: string cleaning; krw ok --- sys/arch/alpha/pci/sio_pic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/alpha/pci/sio_pic.c') diff --git a/sys/arch/alpha/pci/sio_pic.c b/sys/arch/alpha/pci/sio_pic.c index a130ab719b3..b082b42304d 100644 --- a/sys/arch/alpha/pci/sio_pic.c +++ b/sys/arch/alpha/pci/sio_pic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio_pic.c,v 1.21 2002/06/25 21:33:21 miod Exp $ */ +/* $OpenBSD: sio_pic.c,v 1.22 2003/05/11 19:41:09 deraadt Exp $ */ /* $NetBSD: sio_pic.c,v 1.28 2000/06/06 03:10:13 thorpej Exp $ */ /*- @@ -441,7 +441,7 @@ sio_intr_string(v, irq) if (irq == 0 || irq >= ICU_LEN || irq == 2) panic("sio_intr_string: bogus isa irq 0x%x", irq); - sprintf(irqstr, "isa irq %d", irq); + snprintf(irqstr, sizeof irqstr, "isa irq %d", irq); return (irqstr); } -- cgit v1.2.3