summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPeter Maydell2011-11-21 13:21:19 +0100
committerRiku Voipio2012-02-02 16:51:20 +0100
commit2a7e12455c1d388e41f4c8d2231fb48a968792cd (patch)
treeaab7c17bd0c1fc734bdfbe0ac63b3d82a6cee73c /linux-user/syscall.c
parentlinux-user: fix QEMU_STRACE=1 segfault (diff)
downloadqemu-2a7e12455c1d388e41f4c8d2231fb48a968792cd.tar.gz
qemu-2a7e12455c1d388e41f4c8d2231fb48a968792cd.tar.xz
qemu-2a7e12455c1d388e41f4c8d2231fb48a968792cd.zip
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>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions