Files
qemu-xteink/linux-user
Ilya Leoshkevich b9f38374ac linux-user: Fix semctl() strace
The indices of arguments used with semctl() are all off-by-1, because
arg1 is the ipc() command. Fix them. While at it, reuse print_semctl().

New output (for a small test program):

    3540333 semctl(999,888,SEM_INFO,0x00007fe5051ee9a0) = -1 errno=14 (Bad address)

Fixes: 7ccfb2eb5f ("Fix warnings that would be caused by gcc flag -Wwrite-strings")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-2-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-03-26 18:20:36 -10:00
..
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:56 -07:00
2023-10-30 13:41:55 -07:00
2024-03-13 11:43:52 +00:00
2023-10-30 13:41:55 -07:00
2024-03-01 08:09:55 -10:00
2024-03-13 11:43:52 +00:00
2024-03-26 18:20:36 -10:00
2024-03-01 08:05:59 -10:00