patch-2.4.0-test8 linux/kernel/timer.c
Next file: linux/mm/bootmem.c
Previous file: linux/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 28 14:28:27 2000
- Orig file:
v2.4.0-test7/linux/kernel/timer.c
- Orig date:
Wed Aug 23 18:36:39 2000
diff -u --recursive --new-file v2.4.0-test7/linux/kernel/timer.c linux/kernel/timer.c
@@ -724,7 +724,7 @@
asmlinkage long sys_getpid(void)
{
/* This is SMP safe - current->pid doesn't change */
- return current->pid;
+ return current->tgid;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)