change log for rtems (2010-05-05)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed May 5 21:10:51 UTC 2010


 *joel*:
2010-05-05	Alin Rus <alin.codejunkie at gmail.com>

	PR 1510/doc
	* user/chains.t: Fix code example.

M  1.268  doc/ChangeLog
M    1.7  doc/user/chains.t

diff -u rtems/doc/ChangeLog:1.267 rtems/doc/ChangeLog:1.268
--- rtems/doc/ChangeLog:1.267	Thu Apr 22 01:47:28 2010
+++ rtems/doc/ChangeLog	Wed May  5 15:44:15 2010
@@ -1,3 +1,8 @@
+2010-05-05	Alin Rus <alin.codejunkie at gmail.com>
+
+	PR 1510/doc
+	* user/chains.t: Fix code example.
+
 2010-04-22	Alin Rus <alin.codejunkie at gmail.com>
 
 	* user/chain.t: Fixed the example from PR 1504.

diff -u rtems/doc/user/chains.t:1.6 rtems/doc/user/chains.t:1.7
--- rtems/doc/user/chains.t:1.6	Thu Apr 22 01:47:28 2010
+++ rtems/doc/user/chains.t	Wed May  5 15:44:15 2010
@@ -146,7 +146,7 @@
 for (i = 0; i < count; i++)
 @{
   foo* bar = malloc (sizeof (foo));
-  if (!foo)
+  if (!bar)
     return -1;
   bar->data = malloc (size);
   @value{DIRPREFIX}chain_append (&chain, &bar->node);



--

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/20100505/5bdc5625/attachment.html>


More information about the vc mailing list