summaryrefslogtreecommitdiffstats
path: root/sys-utils/lsns.c
diff options
context:
space:
mode:
authorKarel Zak2018-01-17 13:58:29 +0100
committerKarel Zak2018-01-17 13:58:29 +0100
commita15dca2f6d0693546138a6a727f019dd8019dee8 (patch)
tree4ca90e704fea0743180867f7ab7f0592672f8562 /sys-utils/lsns.c
parenthwclock: rename --debug option to --verbose (diff)
downloadkernel-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 'sys-utils/lsns.c')
-rw-r--r--sys-utils/lsns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c
index 4a39f66ef..d36269df5 100644
--- a/sys-utils/lsns.c
+++ b/sys-utils/lsns.c
@@ -194,7 +194,7 @@ static int netlink_fd = -1;
static void lsns_init_debug(void)
{
- __UL_INIT_DEBUG(lsns, LSNS_DEBUG_, 0, LSNS_DEBUG);
+ __UL_INIT_DEBUG_FROM_ENV(lsns, LSNS_DEBUG_, 0, LSNS_DEBUG);
}
static int ns_name2type(const char *name)