提交 f6bed866 编写于 作者: G Geert Uytterhoeven 提交者: Rich Felker

Revert "sh: remove needless printk()"

This reverts commit 8b92f348.

"data" became the log level in commit 539e786c ("sh: add loglvl
to show_trace()"), so we do need to keep the printk() before the
continuation in print_trace_address().
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NRich Felker <dalias@libc.org>
上级 fd722f25
...@@ -118,6 +118,7 @@ static int print_trace_stack(void *data, char *name) ...@@ -118,6 +118,7 @@ static int print_trace_stack(void *data, char *name)
*/ */
static void print_trace_address(void *data, unsigned long addr, int reliable) static void print_trace_address(void *data, unsigned long addr, int reliable)
{ {
printk("%s", (char *)data);
printk_address(addr, reliable); printk_address(addr, reliable);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册