diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 13:35:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 13:35:32 +0000 |
commit | 18daff9b95bbe4d5004a99079207a5343760ecd3 (patch) | |
tree | b964869a341cda8ab268ae3643ea9be3ed1a78f4 /cpukit/libcsupport/src/rtems_memalign.c | |
parent | Whitespace removal. (diff) | |
download | rtems-18daff9b95bbe4d5004a99079207a5343760ecd3.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'cpukit/libcsupport/src/rtems_memalign.c')
-rw-r--r-- | cpukit/libcsupport/src/rtems_memalign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/rtems_memalign.c b/cpukit/libcsupport/src/rtems_memalign.c index 563f23cd4c..467f270b75 100644 --- a/cpukit/libcsupport/src/rtems_memalign.c +++ b/cpukit/libcsupport/src/rtems_memalign.c @@ -40,7 +40,7 @@ int rtems_memalign( /* * Do not attempt to allocate memory if not in correct system state. */ - if ( _System_state_Is_up(_System_state_Get()) && + if ( _System_state_Is_up(_System_state_Get()) && !malloc_is_system_state_OK() ) return EINVAL; @@ -85,7 +85,7 @@ int rtems_memalign( (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); #endif - *pointer = return_this; + *pointer = return_this; return 0; } #endif |