diff options
author | 2019-11-06 12:33:08 +0100 | |
---|---|---|
committer | 2019-11-06 13:30:04 +0100 | |
commit | 3d725434940696ebeb92ce6902edee868c46c1e2 (patch) | |
tree | 471664d603c8b4eab9be2a04375a2fcc2e785106 /util/qemu-timer.c | |
parent | scripts/qemu-binfmt-conf: Update for sparc64 (diff) | |
download | qemu-3d725434940696ebeb92ce6902edee868c46c1e2.tar.xz qemu-3d725434940696ebeb92ce6902edee868c46c1e2.zip |
tests/tcg/multiarch/linux-test: Fix error check for shmat
The error indicator for this syscall is -1, not 0.
Fixes: e374bfa35bfb ("shm tests - disabled clone test")
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191106113318.10226-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions