]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Fix strace output for old_mmap
authorHelge Deller <deller@gmx.de>
Mon, 17 Jul 2023 17:06:32 +0000 (19:06 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 18 Jul 2023 18:42:05 +0000 (20:42 +0200)
commitd971040c2d16b7fda9fcd52c993262b437501538
tree2a0f8cb1ddf6f26edc823e6cc93d3d413b1ac48d
parenteac78a4b0b7da4de2c0a297f4d528ca9cc6256a3
linux-user: Fix strace output for old_mmap

The old_mmap syscall (e.g. on i386) hands over the parameters in
a struct. Adjust the strace output to print the correct values.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: John Reiser <jreiser@BitWagon.com>
Closes: https://gitlab.com/qemu-project/qemu/-/issues/1760
linux-user/strace.c