diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-09-15 19:57:52 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-09-15 19:57:52 +0200 |
commit | 35d8c19ace6855f8ea383b125486738f37201850 (patch) | |
tree | 213350c2a6c88c304f6801de49cbff6c45accde0 /src/core/device.c | |
parent | systemd: do not pass .wants fragment path to manager_load_unit (diff) | |
download | systemd-35d8c19ace6855f8ea383b125486738f37201850.tar.xz systemd-35d8c19ace6855f8ea383b125486738f37201850.zip |
pid1: drop now-unused path parameter to add_dependency_by_name()
Diffstat (limited to 'src/core/device.c')
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c index 634a45592f..80bd2555f1 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -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"); |