Add missing return statement
PATCH 1/1 Add missing return statement
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 <[email protected]>
syscall.c +1 -0
@@ -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)
Aurelien Jarno
AppliedQuoted 4 lines · Stefan Weil
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.
Thanks, applied.
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net