aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-24 13:12:52 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-24 13:12:52 +0000
commit00b229ac6ad1d4aaac8928fbcf4406ec25092f8f (patch)
tree6f0f074cc2a4b78e2c4a67133e4af3dbaae10b96 /linux-user/syscall.c
parent7d0adcd6d57149d4e9ec66f3a1c171df2bea2775 (diff)
Add missing return statement (fixes compiler warning).
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5523 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index cf0834f779..c1301ee547 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1934,6 +1934,7 @@ static inline abi_long host_to_target_msginfo(abi_ulong target_addr,
__put_user(host_msginfo->msgtql, &target_msginfo->msgtql);
__put_user(host_msginfo->msgseg, &target_msginfo->msgseg);
unlock_user_struct(target_msginfo, target_addr, 1);
+ return 0;
}
static inline abi_long do_msgctl(int msgid, int cmd, abi_long ptr)