diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-12-08 10:19:23 -0800 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2018-01-25 08:41:14 -0600 |
commit | b0f73bc7f1793997eb48bd14e3db51c3c95e2098 (patch) | |
tree | 071edb1dc81c1c3372c56069391d7db16e75ae8e /kernel/debug/kdb/kdb_cmds | |
parent | 1e0ce03bf142454f38a5fc050bf4fd698d2d36d8 (diff) | |
download | talos-op-linux-b0f73bc7f1793997eb48bd14e3db51c3c95e2098.tar.gz talos-op-linux-b0f73bc7f1793997eb48bd14e3db51c3c95e2098.zip |
kdb: drop newline in unknown command output
When an unknown command is entered, kdb prints "Unknown kdb command:"
and then the unknown text, including the newline character. This
causes the ending single-quote mark to be printed on the next line
by itself, so just change the ending newline character to a null
character (end of string) so that it won't be "printed."
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug/kdb/kdb_cmds')
0 files changed, 0 insertions, 0 deletions