From d1fe7302a9e2a8bd5814aa461940f488d465af9d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 14 Apr 2010 18:44:00 -0700 Subject: [PATCH] --- yaml --- r: 189895 b: refs/heads/master c: d471a4b9f2ac327c15300ba2b2bda2c6d6fd03bc h: refs/heads/master i: 189893: 354e812162cbf7b184a1559d71a4c0bdf04433a2 189891: d285739c2faf5e1b068479edc4258a4caf53125d 189887: 98f0fd46979c1d56af6eeece94df33b71ef68b30 v: v3 --- [refs] | 2 +- trunk/lib/vsprintf.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index bdf7accea7e7..bff7257092d1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b560177f3e1c6b2d75b220d41ae72636243475c4 +refs/heads/master: d471a4b9f2ac327c15300ba2b2bda2c6d6fd03bc 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,