qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [BUG] [PATCH] Syscalls recv and recvfrom fix
@ 2007-02-28 15:45 Kirill A. Shutemov
  2007-03-07 11:15 ` Kirill A. Shutemov
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill A. Shutemov @ 2007-02-28 15:45 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 51 bytes --]

Argument name typo fixed. Patch in the attachment.

[-- Attachment #1.2: syscall_recv_and_recv_fix.patch --]
[-- Type: text/plain, Size: 690 bytes --]

diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c
index f3f97b0..80684de 100644
--- a/qemu/linux-user/syscall.c
+++ b/qemu/linux-user/syscall.c
@@ -2912,12 +2912,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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [BUG] [PATCH] Syscalls recv and recvfrom fix
  2007-02-28 15:45 [Qemu-devel] [BUG] [PATCH] Syscalls recv and recvfrom fix Kirill A. Shutemov
@ 2007-03-07 11:15 ` Kirill A. Shutemov
  0 siblings, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2007-03-07 11:15 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

On [Wed, 28.02.2007 18:44], Kirill A. Shutemov wrote:
> Argument name typo fixed. Patch in the attachment.
Trivial typo, please commit it.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-07 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 15:45 [Qemu-devel] [BUG] [PATCH] Syscalls recv and recvfrom fix Kirill A. Shutemov
2007-03-07 11:15 ` Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).