]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-device/device-enumerator.c
tree-wide: drop NULL sentinel from strjoin
[thirdparty/systemd.git] / src / libsystemd / sd-device / device-enumerator.c
index 62d03ae00d144f77bb8c95ce565f918374b2b4eb..86f8935a14e8d1f0d536a557cb7c876eceba2d0a 100644 (file)
@@ -773,7 +773,7 @@ static int parent_crawl_children(sd_device_enumerator *enumerator, const char *p
                 if (dent->d_type != DT_DIR)
                         continue;
 
-                child = strjoin(path, "/", dent->d_name, NULL);
+                child = strjoin(path, "/", dent->d_name);
                 if (!child)
                         return -ENOMEM;