]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/syscall.c
linux-user/syscall.c: Don't skip stracing for fcntl64 failure case
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 5 Dec 2011 23:11:50 +0000 (23:11 +0000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 6 Dec 2011 10:08:52 +0000 (10:08 +0000)
commit31b631936376042a503b5378d9716137b170b758
tree2605a1d95e6da8401b6951e69a03a4eb505d892e
parent4a2dd92d7b89d00cb8afa90aa588fef44a79aa88
linux-user/syscall.c: Don't skip stracing for fcntl64 failure case

In an fcntl64 failure path, we were returning directly rather than
simply breaking out of the switch statement. This skips the strace
code for printing the syscall return value, so don't do that.

Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
linux-user/syscall.c