mirror of
https://github.com/drasko/codezero.git
synced 2026-03-09 22:03:15 +01:00
Few fixes in libposix error checking.
size_t is a non-negative type and negative error checking didn't work. Now fixed. Fixed various issues with reading file pages in the sys_read() path.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
* for handling syscalls that access file content (i.e. read/write) since
|
||||
* it maintains the page cache.
|
||||
*/
|
||||
int vfs2pager_sys_open(l4id_t sender, int fd, unsigned long vnum, unsigned long size)
|
||||
int pager_sys_open(l4id_t sender, int fd, unsigned long vnum, unsigned long size)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user