Commit 4c4684af authored by Niels Möller's avatar Niels Möller

* src/unix_user.c (make_process_resource): Use resource_init().

Rev: src/unix_user.c:1.29
parent 1214fc97
......@@ -214,13 +214,11 @@ static struct resource *
make_process_resource(pid_t pid, int signal)
{
NEW(process_resource, self);
self->super.alive = 1;
resource_init(&self->super, do_kill_process);
self->pid = pid;
self->signal = signal;
self->super.kill = do_kill_process;
return &self->super;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment