]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] 9p: null terminate error strings for debug print
authorEric Van Hensbergen <ericvh@gmail.com>
Fri, 26 Jan 2007 08:57:06 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:51:00 +0000 (13:51 -0800)
commit233f19420ce51c1038828352848f230b4c39ef84
tree09d9fa5d75df5bafeb4c9f56fd54338c24bd3cd4
parent249a9c9e45d724e5669c1d5c9aa2e62403af11cf
[PATCH] 9p: null terminate error strings for debug print

We weren't properly NULL terminating protocol error strings for our debug
printk resulting in garbage being included in the output when debug was
enabled.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/9p/error.c