summaryrefslogtreecommitdiff
path: root/src/user/app/init/driver/ansiterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/init/driver/ansiterm.c')
-rw-r--r--src/user/app/init/driver/ansiterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/init/driver/ansiterm.c b/src/user/app/init/driver/ansiterm.c
index b5d3772..5daab41 100644
--- a/src/user/app/init/driver/ansiterm.c
+++ b/src/user/app/init/driver/ansiterm.c
@@ -20,7 +20,7 @@ static void flush(void) {
/* we have to do multiple write() calls if we're behind a shitty passthrough fs
* i don't like this either */
while (off < sizeof(vga))
- off += _syscall_write(vga_fd, (void*)vga + off, sizeof(vga) - off, off);
+ off += _syscall_write(vga_fd, (void*)vga + off, sizeof(vga) - off, off, 0);
dirty = false;
pendingFlush = false;
}