From 8f4fbcd0dcca3f7f9da7ab76136bef09a0a810a6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 5 Sep 2004 16:29:37 +0000 Subject: [PATCH] %#X uses 0X not 0x. --- src/lib/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/lib.c b/src/lib/lib.c index f353d62..8fe5161 100644 --- a/src/lib/lib.c +++ b/src/lib/lib.c @@ -470,7 +470,7 @@ 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, "0123456789abcdef", "0x", 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