aboutsummaryrefslogtreecommitdiff
path: root/target/nios2/nios2-semi.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/nios2/nios2-semi.c')
-rw-r--r--target/nios2/nios2-semi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/nios2-semi.c b/target/nios2/nios2-semi.c
index 29ac27035e..19a7d0e763 100644
--- a/target/nios2/nios2-semi.c
+++ b/target/nios2/nios2-semi.c
@@ -168,7 +168,7 @@ void do_nios2_semihosting(CPUNios2State *env)
GET_ARG64(2);
GET_ARG64(3);
semihost_sys_lseek(cs, nios2_semi_u64_cb, arg0,
- deposit64(arg2, arg1, 32, 32), arg3);
+ deposit64(arg2, 32, 32, arg1), arg3);
break;
case HOSTED_RENAME: