public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/xen/files: xen-3.3.0-warning-fix.patch
@ 2009-04-26 13:02 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-04-26 13:02 UTC (permalink / raw
  To: gentoo-commits

patrick     09/04/26 13:02:31

  Added:                xen-3.3.0-warning-fix.patch
  Log:
  Fix gcc 4.3 compile failure, part of #259670
  (Portage version: 2.2_rc31/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-emulation/xen/files/xen-3.3.0-warning-fix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/files/xen-3.3.0-warning-fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/files/xen-3.3.0-warning-fix.patch?rev=1.1&content-type=text/plain

Index: xen-3.3.0-warning-fix.patch
===================================================================
diff -Nru a/xen/drivers/char/console.c b/xen/drivers/char/console.c
--- a/xen/drivers/char/console.c	2008-08-22 17:49:09.000000000 +0800
+++ b/xen/drivers/char/console.c	2009-02-19 18:39:47.000000000 +0800
@@ -919,7 +919,7 @@
     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");
diff -Nru a/xen/tools/symbols.c b/xen/tools/symbols.c
--- a/xen/tools/symbols.c	2008-08-22 17:49:10.000000000 +0800
+++ b/xen/tools/symbols.c	2009-02-19 18:36:35.000000000 +0800
@@ -80,8 +80,9 @@
 	rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str);
 	if (rc != 3) {
 		if (rc != EOF) {
+			char* z;
 			/* skip line */
-			fgets(str, 500, in);
+			z = fgets(str, 500, in);
 		}
 		return -1;
 	}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-26 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 13:02 [gentoo-commits] gentoo-x86 commit in app-emulation/xen/files: xen-3.3.0-warning-fix.patch Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox