[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Add missing return statement
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] Add missing return statement |
Date: |
Fri, 17 Oct 2008 19:36:38 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
This patch adds a missing return statement (this fixes compiler warning).
Maybe it also fixes a malfunction (not tested).
Please apply it to Qemu trunk.
Stefan
Add missing return statement (fixes compiler warning).
Signed-off-by: Stefan Weil <address@hidden>
Index: linux-user/syscall.c
===================================================================
--- linux-user/syscall.c (Revision 5497)
+++ linux-user/syscall.c (Arbeitskopie)
@@ -1934,6 +1934,7 @@
__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)
- [Qemu-devel] [PATCH] Add missing return statement,
Stefan Weil <=