From bd17fa8cd870bc403e698fafa5ac0bd6dc4af901 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 10 Jan 2020 18:23:24 +0900 Subject: tree-wide: use table_log_add_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 babd82704c..77d9cbb452 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -1446,7 +1446,7 @@ static int list_devices(void) { r = table_add_cell(table, NULL, c == COLUMN_NODE ? TABLE_PATH : TABLE_STRING, strna(x)); if (r < 0) - return log_error_errno(r, "Failed to add cell: %m"); + return table_log_add_error(r); } } -- cgit v1.2.1