summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_filedesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_filedesc.c b/sys/kern/kern_filedesc.c
index fc3d5ef..dea5a43 100644
--- a/sys/kern/kern_filedesc.c
+++ b/sys/kern/kern_filedesc.c
@@ -217,7 +217,7 @@ write(int fd, const void *buf, size_t count)
/* Is this stdout/stderr? */
if (fd == 1 || fd == 2) {
/* TODO: Update this when we have PTYs */
- vcons_putstr(&g_syslog_screen, in_buf);
+ vcons_putstr(&g_syslog_screen, in_buf, count);
return count;
}