]> err.no Git - linux-2.6/commit
vsprintf: split out '%p' handling logic
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:16:15 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:16:15 +0000 (16:16 -0700)
commit78a8bf69b32980879975f7e31d30386c50bfe851
tree577521810087b901f9207f9cdbbe884ced43e490
parent0f9bfa569d46f2346a53a940b2b9e49a38635732
vsprintf: split out '%p' handling logic

The actual code is the same, just split out into a helper function.
This makes it easier to read, and allows for simple future extension
of %p handling.

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