projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
366dfc5
)
Fix addrlen size, by David Woodhouse.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Dec 2006 19:13:59 +0000
(19:13 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Dec 2006 19:13:59 +0000
(19:13 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2241
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 075460bae9e4d19e6684f3f2854e22187f15a62a..155297966e0d3171043a0ee113b4814517e82722 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-841,7
+841,7
@@
static long do_accept(int fd, target_ulong target_addr,
target_ulong target_addrlen)
{
socklen_t addrlen = tget32(target_addrlen);
- void *addr = alloca(
target_
addrlen);
+ void *addr = alloca(addrlen);
long ret;
ret = get_errno(accept(fd, addr, &addrlen));