]> err.no Git - linux-2.6/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)
commite540eb45a5254873245fd377f2fe3afc47bd33c1
tree09d9fa5d75df5bafeb4c9f56fd54338c24bd3cd4
parentda977b2c7eb4d6312f063a7b486f2aad99809710
[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