fix regression from "vsprintf: unify the format decoding layer for its 3 users"
authorVegard Nossum <vegard.nossum@gmail.com>
Sat, 14 Mar 2009 11:08:50 +0000 (12:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 14 Mar 2009 11:37:08 +0000 (12:37 +0100)
commitadf26f84a62b492e002d3b75af671f23ddd3be0a
tree4ce7c1f1a09b625960af9b9eabe1e15616747232
parent39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78
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@goop.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/vsprintf.c