diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-08 02:21:55 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-08 02:21:55 +0200 |
commit | 13d11705bf0117365afc3f9210f4d568a2baa69c (patch) | |
tree | ed8d587b482e42072f51190bc8f8edc13e87dba5 /udev.c | |
parent | 738428b4499211247dafa394805ecaa2cb313f03 (diff) |
switch some strlcpy's to memcpy
strlcpy counts the sourec string lengt and is therefore not suitable
to copy a defined length of characters from one string to another.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -131,6 +131,7 @@ int main(int argc, char *argv[], char *envp[]) } } + udev_rules_close(&rules); udev_cleanup_device(&udev); exit: |