diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-05-02 13:18:31 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-05-06 13:05:53 +1000 |
commit | 1949b1f0f990c7ab171339e20731fe6b17c92d8f (patch) | |
tree | e9f3471f62d0ea63918f807e55f63efc990ad21e /ui/ncurses/nc-cui.c | |
parent | 7b7c45a42d9a46e15109f1cbab460e0b97c53f57 (diff) | |
download | talos-petitboot-1949b1f0f990c7ab171339e20731fe6b17c92d8f.tar.gz talos-petitboot-1949b1f0f990c7ab171339e20731fe6b17c92d8f.zip |
ui: Fix typo: 'deamon' -> 'daemon'
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-cui.c')
-rw-r--r-- | ui/ncurses/nc-cui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index fb104f3..6888fa7 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -905,7 +905,7 @@ static struct discover_client_ops cui_client_ops = { */ struct cui *cui_init(void* platform_info, - int (*js_map)(const struct js_event *e), int start_deamon) + int (*js_map)(const struct js_event *e), int start_daemon) { struct cui *cui; unsigned int i; @@ -926,7 +926,7 @@ struct cui *cui_init(void* platform_info, /* Loop here for scripts that just started the server. */ retry_start: - for (i = start_deamon ? 2 : 15; i; i--) { + for (i = start_daemon ? 2 : 15; i; i--) { cui->client = discover_client_init(cui->waitset, &cui_client_ops, cui); if (cui->client || !i) @@ -935,10 +935,10 @@ retry_start: sleep(1); } - if (!cui->client && start_deamon) { + if (!cui->client && start_daemon) { int result; - start_deamon = 0; + start_daemon = 0; result = pb_start_daemon(cui); |