summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/console.c b/core/console.c
index bc8eed80..df3ce3b0 100644
--- a/core/console.c
+++ b/core/console.c
@@ -349,7 +349,7 @@ static void dummy_console_poll(void *data __unused)
lock(&con_lock);
if (con_driver && con_driver->poll_read)
- has_data = con_driver->poll_read;
+ has_data = con_driver->poll_read();
if (memcons.in_prod != memcons.in_cons)
has_data = true;
if (has_data)
OpenPOWER on IntegriCloud