Revert "sh: remove needless printk()"

This reverts commit 8b92f34877.

"data" became the log level in commit 539e786cc3 ("sh: add loglvl
to show_trace()"), so we do need to keep the printk() before the
continuation in print_trace_address().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
此提交包含在:
Geert Uytterhoeven
2020-06-17 16:36:33 +02:00
提交者 Rich Felker
父節點 fd722f25a6
當前提交 f6bed866f1

查看文件

@@ -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)
{
printk("%s", (char *)data);
printk_address(addr, reliable);
}