Skip to content

Commit

Permalink
backtrace: Fix error in log_backtrace() documentation.
Browse files Browse the repository at this point in the history
The documentation for log_backtrace() states the backtrace is
logged at DEBUG level, while in reality it is logged at ERROR
level.

Fixes: d0b99d3 ("backtrace: Add log_backtrace()")
Acked-by: Mike Pattrick <[email protected]>
Signed-off-by: Frode Nordahl <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
fnordahl authored and igsilya committed Jan 8, 2024
1 parent 638c4d5 commit 94f202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backtrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 94f202f

Please sign in to comment.