diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-16 08:25:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 08:25:49 +0100 |
commit | 8f50eb04acb37b8ef50f823a2917bf0a10e9ec8e (patch) | |
tree | 9896eb01d01e46ece5a2efd109b5716915141c91 /src/busctl/busctl.c | |
parent | 71311efe2377d7e37a6af76f110882eed2332f4e (diff) | |
parent | fa97d2fcf64e0558054bee673f734f523373b146 (diff) | |
download | systemd-8f50eb04acb37b8ef50f823a2917bf0a10e9ec8e.tar.gz |
Merge pull request #18481 from keszybz/rpm-restart-post-trans
Restart units after the rpm transaction
Diffstat (limited to 'src/busctl/busctl.c')
-rw-r--r-- | src/busctl/busctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index 6a492ebd02..142aba0b92 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -443,7 +443,7 @@ static int find_nodes(sd_bus *bus, const char *service, const char *path, Set *p r = sd_bus_call_method(bus, service, path, "org.freedesktop.DBus.Introspectable", "Introspect", - &error, &reply, ""); + &error, &reply, NULL); if (r < 0) { printf("%sFailed to introspect object %s of service %s: %s%s\n", ansi_highlight_red(), @@ -982,7 +982,7 @@ static int introspect(int argc, char **argv, void *userdata) { r = sd_bus_call_method(bus, argv[1], argv[2], "org.freedesktop.DBus.Introspectable", "Introspect", - &error, &reply_xml, ""); + &error, &reply_xml, NULL); if (r < 0) return log_error_errno(r, "Failed to introspect object %s of service %s: %s", argv[2], argv[1], bus_error_message(&error, r)); |