summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index 406722a..ee17a50 100644
--- a/common/console.c
+++ b/common/console.c
@@ -300,7 +300,7 @@ static ssize_t fops_write(struct cdev* dev, const void* buf, size_t count,
priv->puts(priv, buf);
- return 0;
+ return count;
}
int console_register(struct console_device *newcdev)