summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index 76f3093..ebe291a 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -241,7 +241,7 @@ void process_kill(struct process *p, int ret) {
if (p->state == PS_DEAD || p->state == PS_DEADER) return;
if (p->handled_req) {
- vfs_request_cancel(p->handled_req, ret);
+ vfsreq_finish(p->handled_req, -1);
p->handled_req = NULL;
}
if (p->controlled) {
@@ -252,7 +252,7 @@ void process_kill(struct process *p, int ret) {
struct vfs_request *q = p->controlled->queue;
while (q) {
struct vfs_request *q2 = q->queue_next;
- vfs_request_cancel(q, ret);
+ vfsreq_finish(q, -1);
q = q2;
}
p->controlled->queue = NULL;