diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-10 21:11:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-10 21:11:15 +0000 |
commit | 607ced2a9825cfbbaa96cea1eeeb0ffa4c3a73a9 (patch) | |
tree | a0748894e4753ac59df5b3f28ac342b4b8e01e95 /sys/arch/sparc64/dev | |
parent | 3feefc3c4b3f125fc274b71cfe392f9151b9a489 (diff) |
string cleaning; ok beck dhartmei
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/pci_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c index 2b2088390b3..8e48222337e 100644 --- a/sys/arch/sparc64/dev/pci_machdep.c +++ b/sys/arch/sparc64/dev/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.11 2003/02/17 01:29:20 henric Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.12 2003/05/10 21:11:14 deraadt Exp $ */ /* $NetBSD: pci_machdep.c,v 1.22 2001/07/20 00:07:13 eeh Exp $ */ /* @@ -426,7 +426,7 @@ pci_intr_string(pc, ih) static char str[16]; DPRINTF(SPDB_INTR, ("pci_intr_string: ih %u", ih)); - sprintf(str, "ivec %x", ih); + snprintf(str, sizeof str, "ivec %x", ih); DPRINTF(SPDB_INTR, ("; returning %s\n", str)); return (str); |