]> Git Repo - qemu.git/commit
linux-user/strace.c: Correct errno printing for mmap etc
authorPeter Maydell <[email protected]>
Mon, 21 Nov 2011 12:21:19 +0000 (12:21 +0000)
committerRiku Voipio <[email protected]>
Thu, 2 Feb 2012 15:51:20 +0000 (17:51 +0200)
commit2a7e12455c1d388e41f4c8d2231fb48a968792cd
treeaab7c17bd0c1fc734bdfbe0ac63b3d82a6cee73c
parent962b289ef35087fcd8764e4e29808d8ac90157f7
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 <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/strace.c
This page took 0.022595 seconds and 4 git commands to generate.