diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-04-18 16:34:25 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@iki.fi> | 2011-06-21 20:29:01 +0300 |
commit | 206ae74aea5593f5f5bad769a6b4f101f17bc6fd (patch) | |
tree | 99f5255f159963a3a3d34d5b9efb191f29ee6013 /compatfd.h | |
parent | 00faf08c951fcc351467faac5697307a86edb077 (diff) |
arm-semi.c: Use correct check for failure of do_brk()
In the ARM semihosting implementation of SYS_HEAPINFO, use the correct
check for whether do_brk() has failed -- it does not return -1 but the
previous value of the break limit.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'compatfd.h')
0 files changed, 0 insertions, 0 deletions