vsprintf: split out '%s' handling logic
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:06:25 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:06:25 +0000 (16:06 -0700)
commit0f9bfa569d46f2346a53a940b2b9e49a38635732
treeca301743d54bc7f4e0fea3f541db1b23768f9934
parent1b40a895df6c7d5a80e71f65674060b03d84bbef
vsprintf: split out '%s' handling logic

The actual code is the same, just split out into a helper function.
This makes it easier to read, and allows for future sharing of the
string code.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c