diff options
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index ebe291a..7c41eb2 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -257,9 +257,9 @@ void process_kill(struct process *p, int ret) { } p->controlled->queue = NULL; } - if (p->controlled->handler == p) { + if (p->controlled->user.handler == p) { assert(p->state == PS_WAITS4REQUEST); - p->controlled->handler = NULL; + p->controlled->user.handler = NULL; } vfs_backend_refdown(p->controlled); |