tree-wide: use table_log_add_error()

This commit is contained in:
Yu Watanabe
2020-01-10 18:28:30 +09:00
parent 964a7745de
commit bd17fa8cd8
6 changed files with 96 additions and 87 deletions
+1 -1
View File
@@ -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);
}
}