summaryrefslogtreecommitdiff
path: root/udev/udev_utils_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_utils_file.c')
-rw-r--r--udev/udev_utils_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev_utils_file.c b/udev/udev_utils_file.c
index 19b0f22ba8..abe17eb300 100644
--- a/udev/udev_utils_file.c
+++ b/udev/udev_utils_file.c
@@ -36,7 +36,7 @@ int create_path(struct udev *udev, const char *path)
struct stat stats;
int ret;
- strlcpy(p, path, sizeof(p));
+ util_strlcpy(p, path, sizeof(p));
pos = strrchr(p, '/');
if (pos == p || pos == NULL)
return 0;