vsprintf: pre-calculate final string length for later use
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Tue, 15 Dec 2009 02:00:56 +0000 (18:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:29 +0000 (08:53 -0800)
commit6c356634111c5a7a48264d7c9ec28559e4be11a2
tree580b71e1e3764c4cc92ae9df5275b161c61f3267
parent0f4f81dce93774a447da3ceb98cce193ef84a3fa
vsprintf: pre-calculate final string length for later use

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c