[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: Fix gcc 4.3 build failure.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1227697664 0
# Node ID 4ccee1299bc7feab06a95495e2086d04d1b6e960
# Parent  c2a018cdb45d7419aa068c2dc4894e06ec5097e3
xen: Fix gcc 4.3 build failure.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/drivers/char/console.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c2a018cdb45d -r 4ccee1299bc7 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Tue Nov 25 11:17:57 2008 +0000
+++ b/xen/drivers/char/console.c        Wed Nov 26 11:07:44 2008 +0000
@@ -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");

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.