forked from Imagelibrary/rtems
2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1665/testing * psximfs02/init.c: Fix uninitialized variable warning.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
PR 1665/testing
|
||||||
|
* psximfs02/init.c: Fix uninitialized variable warning.
|
||||||
|
|
||||||
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
|
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
|
||||||
|
|
||||||
PR 1661/testing
|
PR 1661/testing
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ rtems_task Init(
|
|||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
void *alloc_ptr = (void *)0;
|
void *alloc_ptr = (void *)0;
|
||||||
Heap_Information_block Info;
|
|
||||||
char linkname_n[20] = {0};
|
char linkname_n[20] = {0};
|
||||||
char linkname_p[20] = {0};
|
char linkname_p[20] = {0};
|
||||||
int i;
|
int i;
|
||||||
@@ -120,7 +119,7 @@ rtems_task Init(
|
|||||||
free( alloc_ptr );
|
free( alloc_ptr );
|
||||||
|
|
||||||
puts( "Allocate most of heap" );
|
puts( "Allocate most of heap" );
|
||||||
alloc_ptr = malloc( Info.Free.largest - 40 );
|
alloc_ptr = malloc( malloc_free_space() - 40 );
|
||||||
|
|
||||||
puts( "Attempt to create /node-slink-2 for /node -- expect ENOMEM" );
|
puts( "Attempt to create /node-slink-2 for /node -- expect ENOMEM" );
|
||||||
status = symlink( "/node", "node-slink-2" );
|
status = symlink( "/node", "node-slink-2" );
|
||||||
|
|||||||
Reference in New Issue
Block a user