summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/lscpu.c')
-rw-r--r--sys-utils/lscpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 3b3faf81a..6b128b140 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -1395,8 +1395,11 @@ print_readable(struct lscpu_desc *desc, int cols[], int ncols,
int i;
char buf[BUFSIZ];
const char *data;
- struct libscols_table *table = scols_new_table();
+ struct libscols_table *table;
+ scols_init_debug(0);
+
+ table = scols_new_table();
if (!table)
err(EXIT_FAILURE, _("failed to initialize output table"));