summaryrefslogtreecommitdiff
path: root/sys/src/9/port/fault.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-11-09 08:19:28 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-11-09 08:19:28 +0100
commitb18a6413975a0a8d06e6d310072a0ff90b1ed541 (patch)
treef147cffbc9767014b6409ebda9a21f957689bc1b /sys/src/9/port/fault.c
parent1ffcdbab88aca698161b34096934e196370b3a21 (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/port/fault.c')
-rw-r--r--sys/src/9/port/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/fault.c b/sys/src/9/port/fault.c
index 0fd6b2e97..478e29f3d 100644
--- a/sys/src/9/port/fault.c
+++ b/sys/src/9/port/fault.c
@@ -47,7 +47,7 @@ fault(uintptr addr, int read)
switch(up->procctl){
case Proc_exitme:
case Proc_exitbig:
- procctl(up);
+ procctl();
}
}