diff options
author | Karel Zak | 2018-01-17 13:58:29 +0100 |
---|---|---|
committer | Karel Zak | 2018-01-17 13:58:29 +0100 |
commit | a15dca2f6d0693546138a6a727f019dd8019dee8 (patch) | |
tree | 4ca90e704fea0743180867f7ab7f0592672f8562 /libsmartcols | |
parent | hwclock: rename --debug option to --verbose (diff) | |
download | kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.tar.gz kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.tar.xz kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.zip |
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 <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r-- | libsmartcols/src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |