mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
fix return value of romfs_stat for non-existent files/directories (#488)
This commit is contained in:
parent
044eac2f3d
commit
d0a7c6a2a5
@ -804,7 +804,7 @@ int romfs_stat(struct _reent *r, const char *path, struct stat *st)
|
||||
}
|
||||
|
||||
r->_errno = ENOENT;
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int romfs_chdir(struct _reent *r, const char *path)
|
||||
|
Loading…
Reference in New Issue
Block a user