chiark / gitweb /
get rid of udev_sysdeps.c
[elogind.git] / udev / udev_utils_file.c
index 19b0f22ba8f01972f63927b346a400d97fe53fb8..abe17eb3001810206c5d0d326b63d2b8a937b809 100644 (file)
@@ -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;