]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fs: 9p: use strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Tue, 16 Jul 2013 07:33:16 +0000 (15:33 +0800)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 30 Jul 2013 15:42:56 +0000 (10:42 -0500)
commitb3f8ab4b7953b4719aaa00c22c1de5d9161f57f5
tree5fcf7a15c58f767fbebc0c7fb066215376be6b4a
parentad81f0545ef01ea651886dddac4bef6cec930092
fs: 9p: use strlcpy instead of strncpy

For 'NULL' terminated string, recommend always to be ended by zero.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c