From: Ben Pfaff Date: Sun, 5 Sep 2004 16:29:37 +0000 (+0000) Subject: %#X uses 0X not 0x. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4fbcd0dcca3f7f9da7ab76136bef09a0a810a6;p=pintos-anon %#X uses 0X not 0x. --- 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 *,