diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-21 11:52:00 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-06-24 12:52:49 +0800 |
commit | 658d9e98eec02f92e3cf263a1bb27beb3d395b2f (patch) | |
tree | 8ba272fa5ca895aba1e2ed88cc424e88bbb0db33 /ui/twin/pbt-scr.c | |
parent | a3de0330fd61eca35cfe360dbb4ea266223f387e (diff) | |
download | petitboot-658d9e98eec02f92e3cf263a1bb27beb3d395b2f.zip petitboot-658d9e98eec02f92e3cf263a1bb27beb3d395b2f.tar.gz |
lib/waiter: Add timeout waiters
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/twin/pbt-scr.c')
-rw-r--r-- | ui/twin/pbt-scr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/twin/pbt-scr.c b/ui/twin/pbt-scr.c index 8532bc1..e093c3c 100644 --- a/ui/twin/pbt-scr.c +++ b/ui/twin/pbt-scr.c @@ -443,8 +443,8 @@ struct pbt_scr *pbt_scr_init(void *talloc_ctx, assert(waiter_fd != -1); - waiter_register(waitset, waiter_fd, WAIT_IN, (void *)pbt_twin_waiter_cb, - &scr->twin_ctx); + waiter_register_io(waitset, waiter_fd, WAIT_IN, + (void *)pbt_twin_waiter_cb, &scr->twin_ctx); return scr; |