diff options
Diffstat (limited to 'arch/ppc64/kernel/setup.c')
-rw-r--r-- | arch/ppc64/kernel/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/setup.c b/arch/ppc64/kernel/setup.c index 10222008fe20..8a1ca695f8a7 100644 --- a/arch/ppc64/kernel/setup.c +++ b/arch/ppc64/kernel/setup.c | |||
@@ -1080,11 +1080,11 @@ void __init setup_arch(char **cmdline_p) | |||
1080 | static void ppc64_do_msg(unsigned int src, const char *msg) | 1080 | static void ppc64_do_msg(unsigned int src, const char *msg) |
1081 | { | 1081 | { |
1082 | if (ppc_md.progress) { | 1082 | if (ppc_md.progress) { |
1083 | char buf[32]; | 1083 | char buf[128]; |
1084 | 1084 | ||
1085 | sprintf(buf, "%08x \n", src); | 1085 | sprintf(buf, "%08X\n", src); |
1086 | ppc_md.progress(buf, 0); | 1086 | ppc_md.progress(buf, 0); |
1087 | sprintf(buf, "%-16s", msg); | 1087 | snprintf(buf, 128, "%s", msg); |
1088 | ppc_md.progress(buf, 0); | 1088 | ppc_md.progress(buf, 0); |
1089 | } | 1089 | } |
1090 | } | 1090 | } |