summaryrefslogtreecommitdiffstats
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-05-06 14:51:54 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 12:13:04 -0700
commit0ddb16cfb05c04d644b4ba8e36e780b15f47a191 (patch)
tree493bbef734da1fb5a355049333b62d99a9539955 /ipc/compat.c
parentee17b36fd0dc2af37ea92548595e30964674ded8 (diff)
downloadop-kernel-dev-0ddb16cfb05c04d644b4ba8e36e780b15f47a191.zip
op-kernel-dev-0ddb16cfb05c04d644b4ba8e36e780b15f47a191.tar.gz
xtensa: strlcpy is smart enough
strlcpy already accounts for the trailing zero in its length computation, so there is no need to substract one to the buffer size. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud