patch-2.4.20 linux-2.4.20/arch/mips/kernel/syscall.c
Next file: linux-2.4.20/arch/mips/kernel/syscalls.h
Previous file: linux-2.4.20/arch/mips/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/kernel/syscall.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/kernel/syscall.c linux-2.4.20/arch/mips/kernel/syscall.c
@@ -221,7 +221,7 @@
return -EFAULT;
if (!access_ok(VERIFY_WRITE,name,sizeof(struct oldold_utsname)))
return -EFAULT;
-
+
error = __copy_to_user(&name->sysname,&system_utsname.sysname,__OLD_UTS_LEN);
error -= __put_user(0,name->sysname+__OLD_UTS_LEN);
error -= __copy_to_user(&name->nodename,&system_utsname.nodename,__OLD_UTS_LEN);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)