diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-08 08:12:18 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-04-08 15:12:18 +0900 |
commit | f39cbb6e695f6fb8487c8930f5ec83e881bb0547 (patch) | |
tree | 0ba84cb24a2534a9f44a5b06095befbd9fb7cbda /src/systemctl | |
parent | 5c69b31c137ffa24bca5a4628f9b4879d0f4e84a (diff) | |
download | systemd-f39cbb6e695f6fb8487c8930f5ec83e881bb0547.tar.gz |
systemctl: pass BUS_MAP_STRDUP when needed (#8682)
This fixes an assert in "systemctl list-dependencies".
Follow-up for a7e4861c7471bfe563078d11acbcecbf2d755462.
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index b4cbe126f6..16a28edaa2 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1680,7 +1680,7 @@ static int list_dependencies_get_dependencies(sd_bus *bus, const char *name, cha "org.freedesktop.systemd1", path, map[arg_dependency], - 0, + BUS_MAP_STRDUP, &error, NULL, &info); |