aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-07-18 19:26:40 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-22 21:30:58 +1000
commit4d404edce30f911004850d472e05a31efd751662 (patch)
tree1af5420e00edbf160a1e332b88d44e5856f68a16 /arch/powerpc/xmon/xmon.c
parent[POWERPC] Make xmon_write accept a const buffer (diff)
downloadlinux-dev-4d404edce30f911004850d472e05a31efd751662.tar.xz
linux-dev-4d404edce30f911004850d472e05a31efd751662.zip
[POWERPC] fix showing xmon help
In some configuration, xmon help string is larger than xmon_printf buffer. We need not to use printf. This patch adds xmon_puts and change to use it to show help string. Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
-rw-r--r--arch/powerpc/xmon/xmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 669e6566ad70..121b04d165d1 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -833,7 +833,7 @@ cmds(struct pt_regs *excp)
mdelay(2000);
return cmd;
case '?':
- printf(help_string);
+ xmon_puts(help_string);
break;
case 'b':
bpt_cmds();