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();