From a15dca2f6d0693546138a6a727f019dd8019dee8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 17 Jan 2018 13:58:29 +0100 Subject: include/debug: introduce __UL_INIT_DEBUG_FROM_STRING() Let's make it possible to use debug.h without environment variables. Suggested-by: J William Piggott Signed-off-by: Karel Zak --- libsmartcols/src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsmartcols') diff --git a/libsmartcols/src/init.c b/libsmartcols/src/init.c index 806b0e1a2..104e43b64 100644 --- a/libsmartcols/src/init.c +++ b/libsmartcols/src/init.c @@ -45,7 +45,7 @@ void scols_init_debug(int mask) if (libsmartcols_debug_mask) return; - __UL_INIT_DEBUG(libsmartcols, SCOLS_DEBUG_, mask, LIBSMARTCOLS_DEBUG); + __UL_INIT_DEBUG_FROM_ENV(libsmartcols, SCOLS_DEBUG_, mask, LIBSMARTCOLS_DEBUG); if (libsmartcols_debug_mask != SCOLS_DEBUG_INIT && libsmartcols_debug_mask != (SCOLS_DEBUG_HELP|SCOLS_DEBUG_INIT)) { -- cgit v1.2.3-55-g7522