diff options
Diffstat (limited to 'sys/amd64/isa/nmi.c')
-rw-r--r-- | sys/amd64/isa/nmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index 3f891f2..08c2049 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.13 1998/06/18 16:08:46 bde Exp $ + * $Id: intr_machdep.c,v 1.14 1998/09/06 22:41:41 tegge Exp $ */ #include "opt_auto_eoi.h" @@ -325,7 +325,7 @@ find_device_id(int irq) char *cp; int free_id, id; - sprintf(buf, "pci irq%d", irq); + snprintf(buf, sizeof(buf), "pci irq%d", irq); cp = intrnames; /* default to 0, which corresponds to clk0 */ free_id = 0; |