From 4dedccfa1fece8d8e2d6d22c81023817aebd7e2e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 24 Oct 2012 20:16:15 -0700 Subject: [readline] Allow a prefilled input string to be provided Signed-off-by: Michael Brown --- src/hci/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hci/shell.c') diff --git a/src/hci/shell.c b/src/hci/shell.c index 33438da09..f4cf9bc8d 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 ); -- cgit v1.2.3-55-g7522