diff options
author | Michael Brown | 2012-10-25 05:16:15 +0200 |
---|---|---|
committer | Michael Brown | 2012-10-25 05:42:42 +0200 |
commit | 4dedccfa1fece8d8e2d6d22c81023817aebd7e2e (patch) | |
tree | bd448b2fce7ae26286df576241d6e170464a2d9f /src/hci/shell.c | |
parent | [settings] Add fetchf_named_setting_copy() (diff) | |
download | ipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.tar.gz ipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.tar.xz ipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.zip |
[readline] Allow a prefilled input string to be provided
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/shell.c')
-rw-r--r-- | src/hci/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/shell.c b/src/hci/shell.c index 33438da0..f4cf9bc8 100644 --- a/src/hci/shell.c +++ b/src/hci/shell.c @@ -86,7 +86,7 @@ int shell ( void ) { /* Read and execute commands */ do { - line = readline_history ( shell_prompt, &history ); + line = readline_history ( shell_prompt, NULL, &history ); if ( line ) { rc = system ( line ); free ( line ); |