From 4b6607d94933ff297b6893e4eb5cdc622cc97504 Mon Sep 17 00:00:00 2001 From: fangxiuning Date: Wed, 8 Jul 2020 15:16:52 +0800 Subject: table use table_log_print_error() instead of table_log_show_error --- src/mount/mount-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mount') 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; } -- cgit v1.2.3