diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-11 19:41:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-11 19:41:13 +0000 |
commit | d6d7c738346239a3c708dc0978911e106ff464ef (patch) | |
tree | bc43e8e3f9316ebb64d8b2b82353eeccf749cf26 /sys/arch/mvmeppc/pci/raven.c | |
parent | 0b07ddfee5e2e357a1085b59936307292adeacfe (diff) |
string cleaning; krw ok
Diffstat (limited to 'sys/arch/mvmeppc/pci/raven.c')
-rw-r--r-- | sys/arch/mvmeppc/pci/raven.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvmeppc/pci/raven.c b/sys/arch/mvmeppc/pci/raven.c index adc95808c64..fd823c196d7 100644 --- a/sys/arch/mvmeppc/pci/raven.c +++ b/sys/arch/mvmeppc/pci/raven.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raven.c,v 1.7 2002/03/14 03:15:58 millert Exp $ */ +/* $OpenBSD: raven.c,v 1.8 2003/05/11 19:41:12 deraadt Exp $ */ /* * Copyright (c) 2001 Steve Murphree, Jr. @@ -471,7 +471,7 @@ mpc_intr_string(lcv, ih) { static char str[16]; - sprintf(str, "irq %d", ih); + snprintf(str, sizeof str, "irq %d", ih); return(str); } |