forked from Imagelibrary/rtems
2010-05-05 Alin Rus <alin.codejunkie@gmail.com>
PR 1510/doc * user/chains.t: Fix code example.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-05-05 Alin Rus <alin.codejunkie@gmail.com>
|
||||
|
||||
PR 1510/doc
|
||||
* user/chains.t: Fix code example.
|
||||
|
||||
2010-04-22 Alin Rus <alin.codejunkie@gmail.com>
|
||||
|
||||
* user/chain.t: Fixed the example from PR 1504.
|
||||
|
||||
@@ -146,7 +146,7 @@ Add nodes with the following code:
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user