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 --- term-utils/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term-utils') diff --git a/term-utils/script.c b/term-utils/script.c index f991de14e..d5ffa27f1 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -132,7 +132,7 @@ struct script_control { static void script_init_debug(void) { - __UL_INIT_DEBUG(script, SCRIPT_DEBUG_, 0, SCRIPT_DEBUG); + __UL_INIT_DEBUG_FROM_ENV(script, SCRIPT_DEBUG_, 0, SCRIPT_DEBUG); } /* -- cgit v1.2.3-55-g7522