summaryrefslogtreecommitdiffstats
path: root/src/busctl/busctl.c
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-07 04:13:13 +0200
committerfangxiuning <fangxiuning123@126.com>2020-07-08 04:50:59 +0200
commitd836018a73bc0cc9c1525aea0706e56213589a70 (patch)
tree1966231107e46c70288a305f25847d83ee9cbed3 /src/busctl/busctl.c
parentuserdbctl homectl use table_log_add_error() (diff)
downloadsystemd-d836018a73bc0cc9c1525aea0706e56213589a70.tar.xz
systemd-d836018a73bc0cc9c1525aea0706e56213589a70.zip
table add table_log_show_error()
Diffstat (limited to 'src/busctl/busctl.c')
-rw-r--r--src/busctl/busctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index 3ab90de63e..f634588817 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -371,7 +371,7 @@ static int list_bus_names(int argc, char **argv, void *userdata) {
else
r = table_print(table, stdout);
if (r < 0)
- return log_error_errno(r, "Failed to show table: %m");
+ return table_log_show_error(r);
return 0;
}