diff --git a/sys/fs/fat/fat.c b/sys/fs/fat/fat.c index 16d71a3..e61cccf 100644 --- a/sys/fs/fat/fat.c +++ b/sys/fs/fat/fat.c @@ -99,7 +99,8 @@ if (size == 0) { kprintf("ZERO: %s", _file->filename); - return (-1); + + return (0); } //kprintf("[Offset(%s): %ld:%ld]", _file->filename, offset, size);