From 539d744e59ef1b736bebee60613af48a0c4ee3af Mon Sep 17 00:00:00 2001 From: Robert Kessl Date: Thu, 26 Jun 2014 16:51:19 +0200 Subject: [PATCH] tableprinter: added forgotten default fmts for s64 a u64 --- ucw/table.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ucw/table.c b/ucw/table.c index 95944f0c..01dfd30d 100644 --- a/ucw/table.c +++ b/ucw/table.c @@ -205,8 +205,10 @@ void table_col_printf(struct table *tbl, int col, const char *fmt, ...) static const char *table_col_default_fmts[] = { [COL_TYPE_STR] = "%s", [COL_TYPE_INT] = "%d", + [COL_TYPE_S64] = "%lld", [COL_TYPE_INTMAX] = "%jd", [COL_TYPE_UINT] = "%u", + [COL_TYPE_U64] = "%llu", [COL_TYPE_UINTMAX] = "%ju", [COL_TYPE_BOOL] = "%d", [COL_TYPE_DOUBLE] = "%.2lf", -- 2.39.2