mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +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;
|
count = sizemax;
|
||||||
|
|
||||||
memcpy(buff, node->fsdata + offset, count);
|
memcpy(buff, node->fsdata + offset, count);
|
||||||
|
*error = 0;
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user