patch-pre2.0.5 linux/mm/memory.c

Next file: linux/net/Makefile
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/mm/memory.c linux/mm/memory.c
@@ -76,7 +76,7 @@
  */
 void oom(struct task_struct * task)
 {
-	printk("\nOut of memory for %s.\n", current->comm);
+	printk("\nOut of memory for %s.\n", task->comm);
 	task->sig->action[SIGKILL-1].sa_handler = NULL;
 	task->blocked &= ~(1<<(SIGKILL-1));
 	send_sig(SIGKILL,task,1);

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