implement stdout with cputbuf instead of printk
[akaros.git] / kern / src / devfs.c
index 4c81b0e..2ce45cb 100644 (file)
@@ -109,7 +109,7 @@ ssize_t dev_stdout_write(struct file *file, const char *buf, size_t count,
         * everything else. */
        if (t_buf[0] == '\033') /* 0x1b */
                return count;
-       printk("%s", t_buf);
+       cputbuf(t_buf, count);
        return count;
 }