diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-10-15 10:00:20 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-16 09:04:08 +0200 |
commit | e1818e02408d9e412a2092c2419f323d6b8c7413 (patch) | |
tree | f2ebefdbddcd235f681d7aaee2f191663d2c67d8 /commands | |
parent | 7bcf295e8db48474f2ad4e37c7cccc3550fc2904 (diff) | |
download | barebox-e1818e02408d9e412a2092c2419f323d6b8c7413.tar.gz barebox-e1818e02408d9e412a2092c2419f323d6b8c7413.tar.xz |
tlsf_malloc: Set errno to ENOMEM on failure
Set errno to ENOMEM on failure so that correct error message can be
displayed by users who rely on errno.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions