aboutsummaryrefslogtreecommitdiffstats
path: root/src/hci/commands
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-04-23 12:27:57 +0100
committerMichael Brown <mcb30@ipxe.org>2021-04-23 12:27:57 +0100
commitb2501dd1221d7910e7aa896ae8b927bb63b77d3a (patch)
treecefdf056fabb0bb4c7a2fd7a007096b65ce10c04 /src/hci/commands
parent56f7d44fde1d6ac196d115cc7dddd58e7ec098fa (diff)
downloadipxe-b2501dd1221d7910e7aa896ae8b927bb63b77d3a.tar.gz
[readline] Add an optional timeout to readline_history()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/commands')
-rw-r--r--src/hci/commands/nvo_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/commands/nvo_cmd.c b/src/hci/commands/nvo_cmd.c
index ac0d60651..88e9d4714 100644
--- a/src/hci/commands/nvo_cmd.c
+++ b/src/hci/commands/nvo_cmd.c
@@ -241,7 +241,7 @@ static int read_value ( struct named_setting *setting, char **args __unused,
NULL, &setting->setting, &existing );
/* Read new value */
- if ( ( rc = readline_history ( NULL, existing, NULL, value ) ) != 0 )
+ if ( ( rc = readline_history ( NULL, existing, NULL, 0, value ) ) != 0 )
goto err_readline;
err_readline: