patch-2.1.125 linux/mm/vmscan.c

Next file: linux/net/802/hippi.c
Previous file: linux/kernel/dma.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -511,9 +511,10 @@
 int kswapd(void *unused)
 {
 	struct wait_queue wait = { current, NULL };
+
 	current->session = 1;
 	current->pgrp = 1;
-	sprintf(current->comm, "kswapd");
+	strcpy(current->comm, "kswapd");
 	sigfillset(&current->blocked);
 	
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov