diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-10-24 23:21:49 -0700 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-10-24 23:24:43 -0700 |
commit | 2c011d77ae0147b8cc68bc4f3c577ebf55b83f16 (patch) | |
tree | 4eaa0afca5fcaa5963799408d29eb60b456fc512 /src/hci/shell.c | |
parent | 88e19fcda95fa1ea59d262898001207c4406eb6d (diff) | |
download | ipxe-2c011d77ae0147b8cc68bc4f3c577ebf55b83f16.tar.gz |
[readline] Allow readline_history() to return a meaningful status
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 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 ); |