commit | 2a7e12455c1d388e41f4c8d2231fb48a968792cd | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Nov 21 12:21:19 2011 +0000 |
committer | Riku Voipio <riku.voipio@linaro.org> | Thu Feb 02 17:51:20 2012 +0200 |
tree | aab7c17bd0c1fc734bdfbe0ac63b3d82a6cee73c | |
parent | 962b289ef35087fcd8764e4e29808d8ac90157f7 [diff] |
linux-user/strace.c: Correct errno printing for mmap etc Correct the printing of errnos for syscalls which are handled via print_syscall_ret_addr (mmap, mmap2, brk, shmat): errnos are returned as negative returned values at this level, not via the host 'errno' variable. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>