Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa No trailing 0 byte for hexdigits.
details: https://anonhg.NetBSD.org/src/rev/48d61de24095
branches: trunk
changeset: 762652:48d61de24095
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Feb 25 00:20:36 2011 +0000
description:
No trailing 0 byte for hexdigits.
diffstat:
sys/lib/libsa/subr_prf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0509e7b8e703 -r 48d61de24095 sys/lib/libsa/subr_prf.c
--- a/sys/lib/libsa/subr_prf.c Fri Feb 25 00:17:35 2011 +0000
+++ b/sys/lib/libsa/subr_prf.c Fri Feb 25 00:20:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_prf.c,v 1.18 2011/02/25 00:17:36 joerg Exp $ */
+/* $NetBSD: subr_prf.c,v 1.19 2011/02/25 00:20:36 joerg Exp $ */
/*-
* Copyright (c) 1993
@@ -66,7 +66,7 @@
static char *sbuf, *ebuf;
-const char hexdigits[] = "0123456789abcdef";
+const char hexdigits[16] = "0123456789abcdef";
#define LONG 0x01
#ifdef LIBSA_PRINTF_LONGLONG_SUPPORT
Home |
Main Index |
Thread Index |
Old Index