From 6832cdf32aa2f72bf97d7d7161140108ee518954 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Fri, 12 Nov 2021 10:59:34 +0100 Subject: [PATCH] debug.c: fix indent level --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index ca11303..1eda994 100644 --- a/src/debug.c +++ b/src/debug.c @@ -67,7 +67,7 @@ void debug(uint32_t level, bool timestamp, uint32_t indent, const char *src, va_list ap; if (indent) - printf("%*s", 2*indent, ""); + printf("%*s", 2*(indent-1), ""); if (timestamp) { int64_t diff = timer_elapsed();