Commit 4020f27707e748a2da58de72461dc1befd6bc9c5

Authored by ths
1 parent 29490584

Fix do_socketcall argument, by Daniel Jacobowitz.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2887 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
linux-user/syscall.c
@@ -953,7 +953,7 @@ static long do_recvfrom(int fd, target_ulong msg, size_t len, int flags, @@ -953,7 +953,7 @@ static long do_recvfrom(int fd, target_ulong msg, size_t len, int flags,
953 return ret; 953 return ret;
954 } 954 }
955 955
956 -static long do_socketcall(int num, target_ulong vptr) 956 +static long do_socketcall(int num, target_phys_addr_t vptr)
957 { 957 {
958 long ret; 958 long ret;
959 const int n = sizeof(target_ulong); 959 const int n = sizeof(target_ulong);