From bd7b9ef5b7b306554f7bc4782a161e4856b34053 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 5 Sep 2004 08:12:37 +0000 Subject: [PATCH] Fix some new printf bugs. --- src/lib/lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/lib.c b/src/lib/lib.c index 46f7f26..f353d62 100644 --- a/src/lib/lib.c +++ b/src/lib/lib.c @@ -469,8 +469,8 @@ struct integer_base static const struct integer_base base_d = {10, "0123456789", "", 3}; static const struct integer_base base_o = {8, "01234567", "0", 3}; -static const struct integer_base base_x = {16, "0123456789acbdef", "", 4}; -static const struct integer_base base_X = {16, "0123456789ABCDEF", "", 4}; +static const struct integer_base base_x = {16, "0123456789abcdef", "0x", 4}; +static const struct integer_base base_X = {16, "0123456789ABCDEF", "0x", 4}; static const char *parse_conversion (const char *format, struct printf_conversion *, -- 2.30.2