summaryrefslogtreecommitdiffstats
path: root/ui/twin/pbt-scr.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-21 11:52:00 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 12:52:49 +0800
commit658d9e98eec02f92e3cf263a1bb27beb3d395b2f (patch)
tree8ba272fa5ca895aba1e2ed88cc424e88bbb0db33 /ui/twin/pbt-scr.c
parenta3de0330fd61eca35cfe360dbb4ea266223f387e (diff)
downloadpetitboot-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.c4
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;
OpenPOWER on IntegriCloud