Re: [Qemu-devel] [PATCH] tests/tcg/multiarch/linux-test: Fix error check for shmat

2019-01-29 Thread Emilio G. Cota
On Sun, Jul 08, 2018 at 18:49:53 -0700, Richard Henderson wrote: > The error indicator for this syscall is -1, not 0. > > Signed-off-by: Richard Henderson Reviewed-by: Emilio G. Cota E.

Re: [Qemu-devel] [PATCH] tests/tcg/multiarch/linux-test: Fix error check for shmat

2019-01-29 Thread Richard Henderson
Ping. On 7/8/18 6:49 PM, Richard Henderson wrote: > The error indicator for this syscall is -1, not 0. > > Signed-off-by: Richard Henderson > --- > tests/tcg/multiarch/linux-test.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/tcg/multiarch/linux-test.c > b/

[Qemu-devel] [PATCH] tests/tcg/multiarch/linux-test: Fix error check for shmat

2018-07-08 Thread Richard Henderson
The error indicator for this syscall is -1, not 0. Signed-off-by: Richard Henderson --- tests/tcg/multiarch/linux-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tcg/multiarch/linux-test.c b/tests/tcg/multiarch/linux-test.c index e80eccc0ce..6d2c02c5c0 100644 -