summaryrefslogtreecommitdiff
path: root/src/portable/portablectl.c
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-07 10:13:13 +0800
committerfangxiuning <fangxiuning123@126.com>2020-07-08 10:50:59 +0800
commitd836018a73bc0cc9c1525aea0706e56213589a70 (patch)
tree1966231107e46c70288a305f25847d83ee9cbed3 /src/portable/portablectl.c
parentf987a261b460bfdaaa6f5375a7e277772d4096cd (diff)
downloadsystemd-d836018a73bc0cc9c1525aea0706e56213589a70.tar.gz
table add table_log_show_error()
Diffstat (limited to 'src/portable/portablectl.c')
-rw-r--r--src/portable/portablectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index 46bb0e5437..d4de823345 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -750,7 +750,7 @@ static int list_images(int argc, char *argv[], void *userdata) {
r = table_print(table, NULL);
if (r < 0)
- return log_error_errno(r, "Failed to show table: %m");
+ return table_log_show_error(r);
}
if (arg_legend) {