Re: [Qemu-devel] [BUG] [PATCH] Syscall gethostname fix

2007-03-07 Thread Kirill A. Shutemov
On [Wed, 28.02.2007 17:13], Kirill A. Shutemov wrote: Patch in the attachment. addrlen bytes should be allocated, not target_addrlen. It's typo I think. diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c index f3f97b0..ccb0e52 100644 --- a/qemu/linux-user/syscall.c +++

[Qemu-devel] [BUG] [PATCH] Syscall gethostname fix

2007-02-28 Thread Kirill A. Shutemov
Patch in the attachment. diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c index f3f97b0..ccb0e52 100644 --- a/qemu/linux-user/syscall.c +++ b/qemu/linux-user/syscall.c @@ -875,7 +875,7 @@ static long do_getsockname(int fd, target_ulong target_addr,