Module Name: src
Committed By: joerg
Date: Fri Feb 25 00:20:36 UTC 2011
Modified Files:
src/sys/lib/libsa: subr_prf.c
Log Message:
No trailing 0 byte for hexdigits.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/lib/libsa/subr_prf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/subr_prf.c
diff -u src/sys/lib/libsa/subr_prf.c:1.18 src/sys/lib/libsa/subr_prf.c:1.19
--- src/sys/lib/libsa/subr_prf.c:1.18 Fri Feb 25 00:17:36 2011
+++ src/sys/lib/libsa/subr_prf.c Fri Feb 25 00:20:36 2011
@@ -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