On Sat, Mar 14, 2009 at 11:39:47AM +0000, Vegard Nossum wrote: > Commit-ID: adf26f84a62b492e002d3b75af671f23ddd3be0a > Gitweb: http://git.kernel.org/tip/adf26f84a62b492e002d3b75af671f23ddd3be0a > Author: Vegard Nossum <vegard.nossum@xxxxxxxxx> > AuthorDate: Sat, 14 Mar 2009 12:08:50 +0100 > Commit: Ingo Molnar <mingo@xxxxxxx> > CommitDate: Sat, 14 Mar 2009 12:37:08 +0100 > > fix regression from "vsprintf: unify the format decoding layer for its 3 users" > > Jeremy Fitzhardinge reported: > > > Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: > > unify the format decoding layer for its 3 users", causes a > > regression in xenbus which results in no devices getting > > attached to a new domain. > > %.*s is broken - fix it. > > Reported-by: Jeremy Fitzhardinge <jeremy@xxxxxxxx> > Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> > Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Ingo Molnar <mingo@xxxxxxx> > > > --- > lib/vsprintf.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index dc16743..708e505 100644 > --- a/lib/vsprintf.c > +++ b/lib/vsprintf.c > @@ -843,7 +843,7 @@ precision: > spec->precision = 0; > } else if (*fmt == '*') { > /* it's the next argument */ > - spec->type = FORMAT_TYPE_WITDH; > + spec->type = FORMAT_TYPE_PRECISION; > return ++fmt - start; > } > } Thanks a lot for this patch! Frederic. -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html