cifs: using strlcpy instead of strncpy

for NUL terminated string, need alway set '\0' in the end.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
Zhao Hongjiang 2013-06-24 01:57:47 -05:00 • committed by Steve French
commit 46b51d0835
2 changed files with 2 additions and 2 deletions