diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/drivers/video/video.c | 4 | ||||
-rw-r--r-- | payloads/libpayload/sample/hello.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c index 774493d175..3be98aa86d 100644 --- a/payloads/libpayload/drivers/video/video.c +++ b/payloads/libpayload/drivers/video/video.c @@ -126,14 +126,14 @@ void video_console_putchar(unsigned int ch) case '\t': while(cursorx % 8 && cursorx < VIDEO_COLS) { if (console) - console->putc(cursorx, cursory, (ch & 0xFF00) | ' '); + console->putc(cursory, cursorx, (ch & 0xFF00) | ' '); cursorx++; } break; default: if (console) - console->putc(cursorx++, cursory, ch); + console->putc(cursory, cursorx++, ch); break; } diff --git a/payloads/libpayload/sample/hello.c b/payloads/libpayload/sample/hello.c index be377b5b25..ffd9dc909b 100644 --- a/payloads/libpayload/sample/hello.c +++ b/payloads/libpayload/sample/hello.c @@ -33,5 +33,6 @@ int main(void) { + printf("Hello world!\n"); return 0; } |