patch-2.1.105 linux/fs/proc/array.c
Next file: linux/include/asm-alpha/apecs.h
Previous file: linux/drivers/sound/uart401.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jun  7 10:37:41 1998
-  Orig file: 
v2.1.104/linux/fs/proc/array.c
-  Orig date: 
Thu May  7 22:51:54 1998
diff -u --recursive --new-file v2.1.104/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -960,7 +960,7 @@
 
 static int get_statm(int pid, char * buffer)
 {
-	struct task_struct *tsk = find_task_by_pid(pid);
+	struct task_struct *tsk;
 	int size=0, resident=0, share=0, trs=0, lrs=0, drs=0, dt=0;
 
 	read_lock(&tasklist_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov