summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/curses/keyboard.c2
-rw-r--r--payloads/libpayload/sample/hello.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c
index 8e9212ceda..0f55614f39 100644
--- a/payloads/libpayload/curses/keyboard.c
+++ b/payloads/libpayload/curses/keyboard.c
@@ -250,6 +250,8 @@ static int curses_getchar(int delay)
mdelay(100);
delay--;
}
+
+ continue;
}
c = inb(0x60);
diff --git a/payloads/libpayload/sample/hello.c b/payloads/libpayload/sample/hello.c
index 242c0c5f7b..be377b5b25 100644
--- a/payloads/libpayload/sample/hello.c
+++ b/payloads/libpayload/sample/hello.c
@@ -33,8 +33,5 @@
int main(void)
{
- printf("Hello world!\n");
- halt();
-
return 0;
}