mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
elf loading and userland
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ static int tmpfs_read(int *error, vnode_t* node, void* buff, size_t count, size_
|
||||
if(count > sizemax)
|
||||
count = sizemax;
|
||||
|
||||
memcpy(buff, node->fsdata, count);
|
||||
memcpy(buff, node->fsdata + offset, count);
|
||||
|
||||
return count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user