summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/os/os_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/os/os_null.c b/src/sys/os/os_null.c
index e142c6f..ae0fcf4 100644
--- a/src/sys/os/os_null.c
+++ b/src/sys/os/os_null.c
@@ -41,7 +41,7 @@ static ssize_t
null_read(struct devfs_node *dnp, struct dev_iobuf *io, int flags)
{
/* We give you a whole lot of nothing! */
- return io->count;
+ return 0;
}
/*