patch-2.4.22 linux-2.4.22/arch/mips/kernel/sysmips.c
Next file: linux-2.4.22/arch/mips/kernel/time.c
Previous file: linux-2.4.22/arch/mips/kernel/sysirix.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/mips/kernel/sysmips.c
-  Orig date: 
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/kernel/sysmips.c linux-2.4.22/arch/mips/kernel/sysmips.c
@@ -65,7 +65,7 @@
 			return -EFAULT;
 
 		down_write(&uts_sem);
-		strncpy(system_utsname.nodename, name, len);
+		strncpy(system_utsname.nodename, nodename, len);
 		system_utsname.nodename[len] = '\0';
 		up_write(&uts_sem);
 		return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)