From 2b4a65b66813b01aa56e6f11643017d3fef55b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 23 Jan 2020 18:42:54 +0100 Subject: sd-bus: export sd_bus_message_dump Fixes #14640. --- src/busctl/busctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/busctl/busctl.c') diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index bd98d4e868..5f3d5ddf39 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -1158,7 +1158,7 @@ static int introspect(int argc, char **argv, void *userdata) { } static int message_dump(sd_bus_message *m, FILE *f) { - return bus_message_dump(m, f, SD_BUS_MESSAGE_DUMP_WITH_HEADER); + return sd_bus_message_dump(m, f, SD_BUS_MESSAGE_DUMP_WITH_HEADER); } static int message_pcap(sd_bus_message *m, FILE *f) { @@ -2052,7 +2052,7 @@ static int call(int argc, char **argv, void *userdata) { } else if (arg_verbose) { (void) pager_open(arg_pager_flags); - r = bus_message_dump(reply, stdout, 0); + r = sd_bus_message_dump(reply, stdout, 0); if (r < 0) return r; } else { @@ -2158,7 +2158,7 @@ static int get_property(int argc, char **argv, void *userdata) { } else if (arg_verbose) { (void) pager_open(arg_pager_flags); - r = bus_message_dump(reply, stdout, SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY); + r = sd_bus_message_dump(reply, stdout, SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY); if (r < 0) return r; } else { -- cgit v1.2.1