summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authoraurel322008-10-24 15:12:52 +0200
committeraurel322008-10-24 15:12:52 +0200
commit00b229ac6ad1d4aaac8928fbcf4406ec25092f8f (patch)
tree6f0f074cc2a4b78e2c4a67133e4af3dbaae10b96 /linux-user/syscall.c
parenthw/pc: don't register the memory hole as unassigned twice (diff)
downloadqemu-00b229ac6ad1d4aaac8928fbcf4406ec25092f8f.tar.gz
qemu-00b229ac6ad1d4aaac8928fbcf4406ec25092f8f.tar.xz
qemu-00b229ac6ad1d4aaac8928fbcf4406ec25092f8f.zip
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)