summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-01-10 18:23:24 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-01-10 18:28:30 +0900
commitbd17fa8cd870bc403e698fafa5ac0bd6dc4af901 (patch)
tree7b228e82ef39ce1f9bd6e2684df046d1bd790768 /src/mount
parent964a7745de89e80a5b84e2d421831f06e5ebc911 (diff)
downloadsystemd-bd17fa8cd870bc403e698fafa5ac0bd6dc4af901.tar.gz
tree-wide: use table_log_add_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 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);
}
}