From 68f40df2983a60e7337f42e69460a270d04bd6da Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sat, 4 Dec 2021 22:15:42 +0100 Subject: [PATCH] debug.c: do not print debug level if level == 0 --- 2021/libsrc/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2021/libsrc/debug.c b/2021/libsrc/debug.c index 2bfaea1..8d5e4f5 100644 --- a/2021/libsrc/debug.c +++ b/2021/libsrc/debug.c @@ -24,9 +24,9 @@ static u32 debug_level=0; void debug_level_set(u32 level) { - debug_level = level;; + debug_level = level; - log(0, "debug level set to %u\n", level); + log(1, "debug level set to %u\n", level); } void debug_init(u32 level)