dlm: config: using strlcpy instead of strncpy
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Thu, 20 Jun 2013 10:59:51 +0000 (18:59 +0800)
committerDavid Teigland <teigland@redhat.com>
Tue, 25 Jun 2013 17:53:06 +0000 (12:53 -0500)
commitad917e7f821855a2f223131bb6c90ca6c9240bf3
treeab187928712bbf3a394658a3d6b393cb0553bc27
parent06452eb0538827d2158945d20e3d33e359884437
dlm: config: 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: David Teigland <teigland@redhat.com>
fs/dlm/config.c
This page took 0.042741 seconds and 5 git commands to generate.