summaryrefslogtreecommitdiffstats
path: root/src/core/swap.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-15 20:02:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-09-15 20:02:00 +0200
commit5a7241708437a7e7cd85383d5a6ea79c3012e8c6 (patch)
treefbc2a2cde901346d5939d7571d216c664b3e4cf8 /src/core/swap.c
parentpid1: drop now-unused path parameter to add_dependency_by_name() (diff)
downloadsystemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.tar.xz
systemd-5a7241708437a7e7cd85383d5a6ea79c3012e8c6.zip
pid1: drop unused path parameter to add_two_dependencies_by_name()
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index 4f9de05ce2..6b0b794749 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -220,7 +220,7 @@ static int swap_add_default_dependencies(Swap *s) {
if (r < 0)
return r;
- return unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_UMOUNT_TARGET, NULL, true, UNIT_DEPENDENCY_DEFAULT);
+ return unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTS, SPECIAL_UMOUNT_TARGET, true, UNIT_DEPENDENCY_DEFAULT);
}
static int swap_verify(Swap *s) {