summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libc/console.c')
-rw-r--r--payloads/libpayload/libc/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/console.c b/payloads/libpayload/libc/console.c
index ea0eba0164..5368dd698b 100644
--- a/payloads/libpayload/libc/console.c
+++ b/payloads/libpayload/libc/console.c
@@ -110,7 +110,7 @@ int getchar(void)
#ifdef CONFIG_USB
usb_poll();
#endif
- struct console_input_driver *in = console_in;
+ struct console_input_driver *in;
for (in = console_in; in != 0; in = in->next)
if (in->havechar())
return in->getchar();