summaryrefslogtreecommitdiffstats
path: root/src/hci/readline.c
diff options
context:
space:
mode:
authorMichael Brown2011-03-07 20:33:50 +0100
committerMichael Brown2011-03-07 20:37:30 +0100
commit9d633bdc7113f0050a0b35df5245dee2b819a273 (patch)
tree637c56a790d95598026387b05ed086dbc606470c /src/hci/readline.c
parent[console] Avoid timer wraparound problems in getchar_timeout() (diff)
downloadipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.tar.gz
ipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.tar.xz
ipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.zip
[console] Add a timeout parameter to getkey()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/readline.c')
-rw-r--r--src/hci/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/readline.c b/src/hci/readline.c
index ee252a19..6a7af9db 100644
--- a/src/hci/readline.c
+++ b/src/hci/readline.c
@@ -98,7 +98,7 @@ char * readline ( const char *prompt ) {
buf[0] = '\0';
while ( 1 ) {
- key = edit_string ( &string, getkey() );
+ key = edit_string ( &string, getkey ( 0 ) );
sync_console ( &string );
switch ( key ) {
case CR: