提交 214201bd 编写于 作者: P pbrook

Usermode recv syscall fix.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2480 c046a42c-6fe2-441c-8c8c-71466251a162
上级 6658ffb8
......@@ -2914,12 +2914,12 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
#endif
#ifdef TARGET_NR_recv
case TARGET_NR_recv:
ret = do_recvfrom(arg1, arg1, arg3, arg4, 0, 0);
ret = do_recvfrom(arg1, arg2, arg3, arg4, 0, 0);
break;
#endif
#ifdef TARGET_NR_recvfrom
case TARGET_NR_recvfrom:
ret = do_recvfrom(arg1, arg1, arg3, arg4, arg5, arg6);
ret = do_recvfrom(arg1, arg2, arg3, arg4, arg5, arg6);
break;
#endif
#ifdef TARGET_NR_recvmsg
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册