From 97635c75e9fd3d802616ce1ab0509d154ad4873e Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 14 Apr 2010 09:27:40 -0700 Subject: [PATCH] --- yaml --- r: 189892 b: refs/heads/master c: 4e310fda91cb095915395f811d10b2c900c9589e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/vsprintf.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 785dd0396b11..9bee48094db3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2ba3abd8186f24c7fb418927025b4e2120e3a362 +refs/heads/master: 4e310fda91cb095915395f811d10b2c900c9589e diff --git a/trunk/lib/vsprintf.c b/trunk/lib/vsprintf.c index 24112e5a5780..7376b7c55ffe 100644 --- a/trunk/lib/vsprintf.c +++ b/trunk/lib/vsprintf.c @@ -408,12 +408,12 @@ enum format_type { }; struct printf_spec { - u16 type; - s16 field_width; /* width of output field */ + u8 type; /* format_type enum */ u8 flags; /* flags to number() */ - u8 base; - s8 precision; /* # of digits/chars */ - u8 qualifier; + u8 base; /* number base, 8, 10 or 16 only */ + u8 qualifier; /* number qualifier, one of 'hHlLtzZ' */ + s16 field_width; /* width of output field */ + s16 precision; /* # of digits/chars */ }; static char *number(char *buf, char *end, unsigned long long num,