diff --git a/nx/source/runtime/devices/romfs_dev.c b/nx/source/runtime/devices/romfs_dev.c index b1e4c7f0..31759e8a 100644 --- a/nx/source/runtime/devices/romfs_dev.c +++ b/nx/source/runtime/devices/romfs_dev.c @@ -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)