mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
[readline] Add an optional timeout to readline_history()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user