From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqtFi-0004Bu-Ps for qemu-devel@nongnu.org; Fri, 17 Oct 2008 13:36:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqtFh-0004BF-6Z for qemu-devel@nongnu.org; Fri, 17 Oct 2008 13:36:42 -0400 Received: from [199.232.76.173] (port=55833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqtFh-0004BA-34 for qemu-devel@nongnu.org; Fri, 17 Oct 2008 13:36:41 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:57735) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqtFg-0006KH-Eu for qemu-devel@nongnu.org; Fri, 17 Oct 2008 13:36:40 -0400 Message-ID: <48F8CD26.5050201@mail.berlios.de> Date: Fri, 17 Oct 2008 19:36:38 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Add missing return statement Content-Type: multipart/mixed; boundary="------------010407020201050403040803" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------010407020201050403040803 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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 --------------010407020201050403040803 Content-Type: text/x-diff; name="syscall.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="syscall.patch" Add missing return statement (fixes compiler warning). Signed-off-by: Stefan Weil 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) --------------010407020201050403040803--