summaryrefslogtreecommitdiffstats
path: root/src/mount
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-08 09:16:52 +0200
committerfangxiuning <fangxiuning123@126.com>2020-07-08 09:16:52 +0200
commit4b6607d94933ff297b6893e4eb5cdc622cc97504 (patch)
treeccf24a4720c3b5181e2b82dffb6c528d5448b695 /src/mount
parenttable add table_log_sort_error() (diff)
downloadsystemd-4b6607d94933ff297b6893e4eb5cdc622cc97504.tar.xz
systemd-4b6607d94933ff297b6893e4eb5cdc622cc97504.zip
table use table_log_print_error() instead of table_log_show_error
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 13f8a37ddf..84d5288c75 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -1436,7 +1436,7 @@ static int list_devices(void) {
r = table_print(table, NULL);
if (r < 0)
- return log_error_errno(r, "Failed to print table: %m");
+ return table_log_print_error(r);
return 0;
}