patch-1.3.9 linux/ipc/msg.c

Next file: linux/kernel/Makefile
Previous file: linux/ipc/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.8/linux/ipc/msg.c linux/ipc/msg.c
@@ -105,7 +105,7 @@
 	msq->msg_stime = CURRENT_TIME;
 	if (msq->rwait)
 		wake_up (&msq->rwait);
-	return msgsz;
+	return 0;
 }
 
 asmlinkage int sys_msgrcv (int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this