pid1: drop now-unused path parameter to add_dependency_by_name()

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-09-15 19:57:52 +02:00
parent 0c062fd3eb
commit 35d8c19ace
12 changed files with 28 additions and 28 deletions
+1 -1
View 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");