mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
tmpfs: set error to 0 on read
This commit is contained in:
@@ -62,6 +62,7 @@ static int tmpfs_read(int *error, vnode_t* node, void* buff, size_t count, size_
|
||||
count = sizemax;
|
||||
|
||||
memcpy(buff, node->fsdata + offset, count);
|
||||
*error = 0;
|
||||
|
||||
return count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user