From 94f202f9f53a90bab1cfa8f4c4f14edffad1b87b Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Fri, 5 Jan 2024 16:41:45 +0000 Subject: [PATCH] backtrace: Fix error in log_backtrace() documentation. The documentation for log_backtrace() states the backtrace is logged at DEBUG level, while in reality it is logged at ERROR level. Fixes: d0b99d38edab ("backtrace: Add log_backtrace()") Acked-by: Mike Pattrick Signed-off-by: Frode Nordahl Signed-off-by: Ilya Maximets --- lib/backtrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backtrace.h b/lib/backtrace.h index 5708bf9c683..1a5b879944a 100644 --- a/lib/backtrace.h +++ b/lib/backtrace.h @@ -26,7 +26,7 @@ #endif /* log_backtrace() will save the backtrace of a running program - * into the log at the DEBUG level. + * into the log at the ERROR level. * * To use it, insert the following code to where backtrace is * desired: