change log for rtems (2011-05-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed May 25 05:10:26 UTC 2011


 *ralf* (on branch rtems-4-10-branch):
2011-05-25	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libblock/src/flashdisk.c, libblock/src/nvdisk.c:
	Add va_end() (Backport from HEAD).

M 1.2346.2.90  cpukit/ChangeLog
M 1.18.2.3  cpukit/libblock/src/flashdisk.c
M 1.16.2.1  cpukit/libblock/src/nvdisk.c

diff -u rtems/cpukit/ChangeLog:1.2346.2.89 rtems/cpukit/ChangeLog:1.2346.2.90
--- rtems/cpukit/ChangeLog:1.2346.2.89	Thu May 19 10:32:42 2011
+++ rtems/cpukit/ChangeLog	Tue May 24 23:48:08 2011
@@ -1,3 +1,8 @@
+2011-05-25	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libblock/src/flashdisk.c, libblock/src/nvdisk.c:
+	Add va_end() (Backport from HEAD).
+
 2011-05-19	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* posix/Makefile.am: Add posixtime.h.

diff -u rtems/cpukit/libblock/src/flashdisk.c:1.18.2.2 rtems/cpukit/libblock/src/flashdisk.c:1.18.2.3
--- rtems/cpukit/libblock/src/flashdisk.c:1.18.2.2	Wed May 11 03:29:17 2011
+++ rtems/cpukit/libblock/src/flashdisk.c	Tue May 24 23:48:09 2011
@@ -344,6 +344,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -368,6 +369,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -392,6 +394,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -414,6 +417,7 @@
   ret =  vfprintf (stderr, format, args);
   fprintf (stderr, "\n");
   fflush (stderr);
+  va_end (args);
   return ret;
 }
 
@@ -432,6 +436,7 @@
   vfprintf (stderr, format, args);
   fprintf (stderr, "\n");
   fflush (stderr);
+  va_end (args);
   exit (1);
 }
 

diff -u rtems/cpukit/libblock/src/nvdisk.c:1.16 rtems/cpukit/libblock/src/nvdisk.c:1.16.2.1
--- rtems/cpukit/libblock/src/nvdisk.c:1.16	Sat May 22 11:43:09 2010
+++ rtems/cpukit/libblock/src/nvdisk.c	Tue May 24 23:48:10 2011
@@ -175,6 +175,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -199,6 +200,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -223,6 +225,7 @@
     ret =  vfprintf (stdout, format, args);
     fprintf (stdout, "\n");
     fflush (stdout);
+    va_end (args);
   }
   return ret;
 }
@@ -245,6 +248,7 @@
   ret =  vfprintf (stderr, format, args);
   fprintf (stderr, "\n");
   fflush (stderr);
+  va_end (args);
   return ret;
 }
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110525/636227c8/attachment.html>


More information about the vc mailing list