diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-07-18 05:26:40 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-22 07:30:58 -0400 |
commit | 4d404edce30f911004850d472e05a31efd751662 (patch) | |
tree | 1af5420e00edbf160a1e332b88d44e5856f68a16 /arch/powerpc/xmon/nonstdio.c | |
parent | 776568d4c93fe8def5ab4060344af554fe2b44be (diff) |
[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/nonstdio.c')
-rw-r--r-- | arch/powerpc/xmon/nonstdio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/nonstdio.c b/arch/powerpc/xmon/nonstdio.c index 78765833f4c0..bfac84fbe780 100644 --- a/arch/powerpc/xmon/nonstdio.c +++ b/arch/powerpc/xmon/nonstdio.c | |||
@@ -132,3 +132,8 @@ void xmon_printf(const char *format, ...) | |||
132 | va_end(args); | 132 | va_end(args); |
133 | xmon_write(xmon_outbuf, n); | 133 | xmon_write(xmon_outbuf, n); |
134 | } | 134 | } |
135 | |||
136 | void xmon_puts(const char *str) | ||
137 | { | ||
138 | xmon_write(str, strlen(str)); | ||
139 | } | ||