diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-01-27 02:17:14 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-01-27 02:17:14 +0100 |
commit | 023d957e6b80f88584fdff30a95be6330613b27a (patch) | |
tree | 35b6b7aaf65b0e0be2e10d6ae9749d8e58cb7a1b /sys/src/9/port/proc.c | |
parent | 46a733c328cf8ab399d779cc54333fe858d89da7 (diff) |
kernel: restore old behaviour that kprocs have ther noteid == pid
Diffstat (limited to 'sys/src/9/port/proc.c')
-rw-r--r-- | sys/src/9/port/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 61d2833a8..59cb403b2 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -1480,7 +1480,7 @@ kproc(char *name, void (*func)(void *), void *arg) memset(p->time, 0, sizeof(p->time)); p->time[TReal] = MACHP(0)->ticks; - pidalloc(p); + p->noteid = pidalloc(p); procpriority(p, PriKproc, 0); |