diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-11-09 08:19:28 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-11-09 08:19:28 +0100 |
commit | b18a6413975a0a8d06e6d310072a0ff90b1ed541 (patch) | |
tree | f147cffbc9767014b6409ebda9a21f957689bc1b /sys/src/9/mtx | |
parent | 1ffcdbab88aca698161b34096934e196370b3a21 (diff) |
kernel: remove implicit Proc* argument from procctl()
procctl() is always called with up and it would not
work correctly if passed a different process, so
remove the Proc* argument and use up directly.
Diffstat (limited to 'sys/src/9/mtx')
-rw-r--r-- | sys/src/9/mtx/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/mtx/trap.c b/sys/src/9/mtx/trap.c index 022ec4903..f3e9f2e46 100644 --- a/sys/src/9/mtx/trap.c +++ b/sys/src/9/mtx/trap.c @@ -701,7 +701,7 @@ notify(Ureg* ur) Note *n; if(up->procctl) - procctl(up); + procctl(); if(up->nnote == 0) return 0; |