diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-20 22:24:46 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-20 22:24:46 -0400 |
commit | 988a5e5f7ae95fc5ec6bc2d61bb06d47363b7e7d (patch) | |
tree | f2ed6a44296aaa0558dc60dfe63dacf10cbef4a3 | |
parent | b3b838c14d5999ef5e603ce54ee28582aa648507 (diff) |
kern: null: Return a count of zero in read hook
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | src/sys/os/os_null.c | 2 |
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; } /* |