summaryrefslogtreecommitdiffstats
path: root/src/hci/shell.c
diff options
context:
space:
mode:
authorMichael Brown2012-10-25 05:16:15 +0200
committerMichael Brown2012-10-25 05:42:42 +0200
commit4dedccfa1fece8d8e2d6d22c81023817aebd7e2e (patch)
treebd448b2fce7ae26286df576241d6e170464a2d9f /src/hci/shell.c
parent[settings] Add fetchf_named_setting_copy() (diff)
downloadipxe-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.c2
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 );