projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update rcS.c to match new runqueue api changes
[project/procd.git]
/
rcS.c
diff --git
a/rcS.c
b/rcS.c
index
58f195b
..
b55b539
100644
(file)
--- a/
rcS.c
+++ b/
rcS.c
@@
-92,9
+92,9
@@
static void q_initd_run(struct runqueue *q, struct runqueue_task *t)
exit(1);
}
exit(1);
}
-static void q_initd_complete(struct runqueue *q, struct runqueue_
process *p, int ret
)
+static void q_initd_complete(struct runqueue *q, struct runqueue_
task *p
)
{
{
- struct initd *s = container_of(p, struct initd, proc);
+ struct initd *s = container_of(p, struct initd, proc
.task
);
DEBUG(1, "stop %s %s \n", s->file, s->param);
ustream_free(&s->fd.stream);
DEBUG(1, "stop %s %s \n", s->file, s->param);
ustream_free(&s->fd.stream);
@@
-113,7
+113,7
@@
static void add_initd(char *file, char *param)
s = calloc(1, sizeof(*s));
s->proc.task.type = &initd_type;
s = calloc(1, sizeof(*s));
s->proc.task.type = &initd_type;
- s->proc.complete = q_initd_complete;
+ s->proc.
task.
complete = q_initd_complete;
s->param = param;
s->file = file;
runqueue_task_add(&q, &s->proc.task, false);
s->param = param;
s->file = file;
runqueue_task_add(&q, &s->proc.task, false);