patch-2.4.20 linux-2.4.20/arch/mips64/kernel/syscall.c
Next file: linux-2.4.20/arch/mips64/kernel/time.c
Previous file: linux-2.4.20/arch/mips64/kernel/softfp.S
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips64/kernel/syscall.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips64/kernel/syscall.c linux-2.4.20/arch/mips64/kernel/syscall.c
@@ -261,7 +261,7 @@
}
case MSGSND:
- return sys_msgsnd (first, (struct msgbuf *) ptr,
+ return sys_msgsnd (first, (struct msgbuf *) ptr,
second, third);
case MSGRCV:
switch (version) {
@@ -269,9 +269,9 @@
struct ipc_kludge tmp;
if (!ptr)
return -EINVAL;
-
+
if (copy_from_user(&tmp,
- (struct ipc_kludge *) ptr,
+ (struct ipc_kludge *) ptr,
sizeof (tmp)))
return -EFAULT;
return sys_msgrcv (first, tmp.msgp, second,
@@ -301,7 +301,7 @@
return -EINVAL;
return sys_shmat (first, (char *) ptr, second, (ulong *) third);
}
- case SHMDT:
+ case SHMDT:
return sys_shmdt ((char *)ptr);
case SHMGET:
return sys_shmget (first, second, third);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)