format-table: add table_log_add_error()

This commit is contained in:
Yu Watanabe
2020-01-10 18:23:20 +09:00
parent e2268fa437
commit d8aedafb57

View File

@@ -118,3 +118,6 @@ const void *table_get_at(Table *t, size_t row, size_t column);
int table_to_json(Table *t, JsonVariant **ret);
int table_print_json(Table *t, FILE *f, JsonFormatFlags json_flags);
#define table_log_add_error(r) \
log_error_errno(r, "Failed to add cell(s) to table: %m")