diff options
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); } |