From 2c011d77ae0147b8cc68bc4f3c577ebf55b83f16 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 24 Oct 2012 23:21:49 -0700 Subject: [readline] Allow readline_history() to return a meaningful status 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 f4cf9bc8d..b62086769 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, NULL, &history ); + readline_history ( shell_prompt, NULL, &history, &line ); if ( line ) { rc = system ( line ); free ( line ); -- cgit