diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-10-15 10:00:19 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-16 09:04:08 +0200 |
commit | 7bcf295e8db48474f2ad4e37c7cccc3550fc2904 (patch) | |
tree | d16398457b061ee976f37a1d581abab5d0578b6c /common/tlsf_malloc.c | |
parent | 5daab6ebb368eb4b113da858b9d9e12b8d670c52 (diff) | |
download | barebox-7bcf295e8db48474f2ad4e37c7cccc3550fc2904.tar.gz barebox-7bcf295e8db48474f2ad4e37c7cccc3550fc2904.tar.xz |
dummy_malloc: Check if sbrk() fails
Add code to check if sbrk() fails as well as setting appropriate
'errno' for users that may rely on it for error reporting.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/tlsf_malloc.c')
0 files changed, 0 insertions, 0 deletions