diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-12-19 19:23:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-19 22:52:47 +0100 |
commit | 26cc271db798cf211d35967cbfbb53e997126b84 (patch) | |
tree | c4131ca7cdf2cfbc90c421b82e2b3b88b8927e6a /lib/Kconfig.debug | |
parent | Linux 2.6.28-rc9 (diff) | |
download | linux-26cc271db798cf211d35967cbfbb53e997126b84.tar.xz linux-26cc271db798cf211d35967cbfbb53e997126b84.zip |
printk: fix discarding message when recursion_bug
Impact: fix truncated recursion bug message printout
When recursion_bug is true, kernel discards original message because printk_buf
contains recursion_bug_msg with NULL terminator. The sizeof(recursion_bug_msg)
makes this, use strlen() to get correct length without NULL terminator.
Reported-by: Toshikazu Nakayama <nakayama.ts@ncos.nec.co.jp>
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions