Commit 00b229ac6ad1d4aaac8928fbcf4406ec25092f8f
1 parent
7d0adcd6
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
Showing
1 changed file
with
1 additions
and
0 deletions
linux-user/syscall.c
... | ... | @@ -1934,6 +1934,7 @@ static inline abi_long host_to_target_msginfo(abi_ulong target_addr, |
1934 | 1934 | __put_user(host_msginfo->msgtql, &target_msginfo->msgtql); |
1935 | 1935 | __put_user(host_msginfo->msgseg, &target_msginfo->msgseg); |
1936 | 1936 | unlock_user_struct(target_msginfo, target_addr, 1); |
1937 | + return 0; | |
1937 | 1938 | } |
1938 | 1939 | |
1939 | 1940 | static inline abi_long do_msgctl(int msgid, int cmd, abi_long ptr) | ... | ... |