aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/char/console.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-11-26 11:07:44 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-11-26 11:07:44 +0000
commit2853fea7b065a2a0b649beeb901f8fb394299f2a (patch)
tree20446e26847d5b0d01c11106610123224c948d28 /xen/drivers/char/console.c
parent712cd1b8c96721b5297acc16b079615c2940a69d (diff)
downloadxen-2853fea7b065a2a0b649beeb901f8fb394299f2a.tar.gz
xen-2853fea7b065a2a0b649beeb901f8fb394299f2a.tar.bz2
xen-2853fea7b065a2a0b649beeb901f8fb394299f2a.zip
xen: Fix gcc 4.3 build failure.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/drivers/char/console.c')
-rw-r--r--xen/drivers/char/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c
index 203f8459fc..9d24390d38 100644
--- a/xen/drivers/char/console.c
+++ b/xen/drivers/char/console.c
@@ -927,7 +927,7 @@ void panic(const char *fmt, ...)
console_start_sync();
printk("\n****************************************\n");
printk("Panic on CPU %d:\n", smp_processor_id());
- printk(buf);
+ printk("%s", buf);
printk("****************************************\n\n");
if ( opt_noreboot )
printk("Manual reset required ('noreboot' specified)\n");