OSDN Git Service

linux-user: correct argument number for sys_mremap and sys_splice
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Tue, 23 Jul 2013 17:00:10 +0000 (19:00 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 27 Jul 2013 07:22:54 +0000 (11:22 +0400)
commit6064be7912ab262f0abd85ad042fafd435ad6651
treed8742ffbb40bec79809f3be2ff118a492060c8df
parent04dd125942b11136a8c96d36591ad043b8653a7b
linux-user: correct argument number for sys_mremap and sys_splice

sys_mremap missed 5th argument (new_address), which caused examples that
remap to a specific address to fail.
sys_splice missed 5th and 6th argument which caused different examples to
fail.
This change has an effect on MIPS target only.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/main.c