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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1227791425 0
# Node ID 007fc1ed1014e27f7615c1eeb62baef856ce8357
# Parent  b9cf7df7284fae486a323e0cd85edc8e80a984b9
xen: Fix gcc 4.3 build failure.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18811:4ccee1299bc7feab06a95495e2086d04d1b6e960
xen-unstable date:        Wed Nov 26 11:07:44 2008 +0000
---
 xen/drivers/char/console.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b9cf7df7284f -r 007fc1ed1014 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Fri Nov 21 11:28:20 2008 +0000
+++ b/xen/drivers/char/console.c        Thu Nov 27 13:10:25 2008 +0000
@@ -925,7 +925,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®.