diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-09-15 20:02:00 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-09-15 20:02:00 +0200 |
commit | 5a7241708437a7e7cd85383d5a6ea79c3012e8c6 (patch) | |
tree | fbc2a2cde901346d5939d7571d216c664b3e4cf8 /src/core/target.c | |
parent | pid1: drop now-unused path parameter to add_dependency_by_name() (diff) | |
download | systemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.tar.xz systemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.zip |
pid1: drop unused path parameter to add_two_dependencies_by_name()
Diffstat (limited to 'src/core/target.c')
-rw-r--r-- | src/core/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/target.c b/src/core/target.c index 6446767504..a91c85ed2e 100644 --- a/src/core/target.c +++ b/src/core/target.c @@ -66,7 +66,7 @@ static int target_add_default_dependencies(Target *t) { return 0; /* Make sure targets are unloaded on shutdown */ - return unit_add_two_dependencies_by_name(UNIT(t), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, NULL, true, UNIT_DEPENDENCY_DEFAULT); + return unit_add_two_dependencies_by_name(UNIT(t), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_SHUTDOWN_TARGET, true, UNIT_DEPENDENCY_DEFAULT); } static int target_load(Unit *u) { |