On 06/11/2015 01:24, Andrew Jones wrote: > From: Alex Bennée <alex.bennee@xxxxxxxxxx> > > Signed-off-by: Alex Bennée <alex.bennee@xxxxxxxxxx> > Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx> > --- > lib/printf.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/lib/printf.c b/lib/printf.c > index 89308fb26b7d2..5d83605afe829 100644 > --- a/lib/printf.c > +++ b/lib/printf.c > @@ -180,6 +180,19 @@ int vsnprintf(char *buf, int size, const char *fmt, va_list va) > break; > } > break; > + case 'u': > + switch (nlong) { > + case 0: > + print_unsigned(&s, va_arg(va, unsigned), 10, props); > + break; > + case 1: > + print_unsigned(&s, va_arg(va, unsigned long), 10, props); > + break; > + default: > + print_unsigned(&s, va_arg(va, unsigned long long), 10, props); > + break; > + } > + break; > case 'x': > switch (nlong) { > case 0: > Applied, thanks. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html