Typo : fix recv and recvfrom syscalls in user emulation
PATCH 1/1 Typo : fix recv and recvfrom syscalls in user emulation
Trivial patch following
Regards,
Raphaël Rigo
===================================================================
RCS file: /sources/qemu/qemu/linux-user/syscall.c,v retrieving revision 1.89
syscall.c 16 Mar 2007 12:43:15 -0000 renamed from syscall.c 2 Mar 2007 20:47:59 -0000 1.89 +2 -2
@@ -2914,12 +2914,12 @@ #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
Quoted 16 lines · Raphaël Rigo
Trivial patch following
Regards,
Raphaël Rigo===================================================================
RCS file: /sources/qemu/qemu/linux-user/syscall.c,v retrieving revision 1.89
diff -u -r1.89syscall.csyscall.c 16 Mar 2007 12:43:15 -0000 renamed from syscall.c 2 Mar 2007 20:47:59 -0000 1.89 +0
-1@@ -2914,12 +2914,12 @@ #endif #ifdef TARGET_NR_recv case TARGET_NR_recv: - ret = do_recvfrom(arg1, arg1, arg3, arg4, 0, 0);
syscall.c 16 Mar 2007 12:43:15 -0000 line 2925
Quoted 10 lines
syscall.c 16 Mar 2007 12:43:15 -0000 renamed from syscall.c 2 Mar 2007 20:47:59 -0000 1.89 +2
-1+ 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
I have posted same patch(and a few other) more then week ago, but it hasn't commit yet.
Quoted 16 lines · Raphaël Rigo
Trivial patch following
Regards,
Raphaël Rigo===================================================================
RCS file: /sources/qemu/qemu/linux-user/syscall.c,v retrieving revision 1.89
diff -u -r1.89syscall.csyscall.c 16 Mar 2007 12:43:15 -0000 renamed from syscall.c 2 Mar 2007 20:47:59 -0000 1.89 +0
-1@@ -2914,12 +2914,12 @@ #endif #ifdef TARGET_NR_recv case TARGET_NR_recv: - ret = do_recvfrom(arg1, arg1, arg3, arg4, 0, 0);
syscall.c 16 Mar 2007 12:43:15 -0000 line 2925
Quoted 10 lines
syscall.c 16 Mar 2007 12:43:15 -0000 renamed from syscall.c 2 Mar 2007 20:47:59 -0000 1.89 +2
-1+ 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
I have posted same patch(and a few other) more then week ago, but it hasn't commit yet.