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 331e019..b9eb48e 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -86,7 +86,7 @@ struct process *process_fork(struct process *parent, int flags) {
void process_kill(struct process *p, int ret) {
if (p->state != PS_DEAD) {
if (p->handled_req) {
- vfsreq_finish(p->handled_req, -1, 0, NULL);
+ vfsreq_finish_short(p->handled_req, -1);
p->handled_req = NULL;
}
@@ -99,7 +99,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;
- vfsreq_finish(q, -1, 0, NULL);
+ vfsreq_finish_short(q, -1);
q = q2;
}
p->controlled->queue = NULL;