From 9c3e37c69cf0caeb66c8f5eaa83a2dcd3cb4c72a Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Fri, 5 Mar 2010 10:47:31 -0700 Subject: [PATCH] --- yaml --- r: 186450 b: refs/heads/master c: b89dc5d6b0981c1096ccffbf8f4413c7bb1bcc0a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/vsprintf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0bb453823005..cde3425b4c63 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef0658f3de484bf9b173639cd47544584e01efa5 +refs/heads/master: b89dc5d6b0981c1096ccffbf8f4413c7bb1bcc0a diff --git a/trunk/lib/vsprintf.c b/trunk/lib/vsprintf.c index e994cea385c8..a900d136e643 100644 --- a/trunk/lib/vsprintf.c +++ b/trunk/lib/vsprintf.c @@ -381,8 +381,8 @@ static noinline char *put_dec(char *buf, unsigned long long num) #define PLUS 4 /* show plus */ #define SPACE 8 /* space if plus */ #define LEFT 16 /* left justified */ -#define SMALL 32 /* Must be 32 == 0x20 */ -#define SPECIAL 64 /* 0x */ +#define SMALL 32 /* use lowercase in hex (must be 32 == 0x20) */ +#define SPECIAL 64 /* prefix hex with "0x", octal with "0" */ enum format_type { FORMAT_TYPE_NONE, /* Just a string part */