summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-rl.c')
-rw-r--r--cli/src/cli-rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rl.c b/cli/src/cli-rl.c
index bca37d9c509..e1e087f013a 100644
--- a/cli/src/cli-rl.c
+++ b/cli/src/cli-rl.c
@@ -387,7 +387,7 @@ cli_rl_enable (struct cli_state *state)
goto out;
}
- ret = event_register (state->ctx->event_pool, 0, cli_rl_stdin, state,
+ ret = event_register (state->ctx->event_pool, 0, cli_rl_stdin, NULL, state,
1, 0);
if (ret == -1)
goto out;