diff options
Diffstat (limited to 'src/libthread/proctab.c')
| -rw-r--r-- | src/libthread/proctab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/proctab.c b/src/libthread/proctab.c index ec28d676..b8dd2097 100644 --- a/src/libthread/proctab.c +++ b/src/libthread/proctab.c @@ -46,7 +46,7 @@ __threadgetproc(int rm) if(!multi) return theproc; - pid = _threadgetpid(); + pid = getpid(); lock(&ptablock); h = ((unsigned)pid)%PTABHASH; |
