]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/device.c
pid1: drop now-unused path parameter to add_dependency_by_name()
[thirdparty/systemd.git] / src / core / device.c
index 634a45592f0cc2cc4b1f83ccdd021241fd6a3b8a..80bd2555f1711fbf012bb211403b71c4f596e555 100644 (file)
@@ -380,7 +380,7 @@ static int device_add_udev_wants(Unit *u, sd_device *dev) {
                                 return log_unit_error_errno(u, r, "Failed to mangle unit name \"%s\": %m", word);
                 }
 
-                r = unit_add_dependency_by_name(u, UNIT_WANTS, k, NULL, true, UNIT_DEPENDENCY_UDEV);
+                r = unit_add_dependency_by_name(u, UNIT_WANTS, k, true, UNIT_DEPENDENCY_UDEV);
                 if (r < 0)
                         return log_unit_error_errno(u, r, "Failed to add Wants= dependency: %m");