summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/nolibc/dirent.h')
-rw-r--r--tools/include/nolibc/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/nolibc/dirent.h b/tools/include/nolibc/dirent.h
index 61a122a60327..4e02ef25e72d 100644
--- a/tools/include/nolibc/dirent.h
+++ b/tools/include/nolibc/dirent.h
@@ -73,7 +73,7 @@ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
fd = ~i;
- ret = sys_getdents64(fd, ldir, sizeof(buf));
+ ret = _sys_getdents64(fd, ldir, sizeof(buf));
if (ret < 0)
return -ret;
if (ret == 0) {
@@ -86,7 +86,7 @@ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
* readdir() can only return one entry at a time.
* Make sure the non-returned ones are not skipped.
*/
- ret = sys_lseek(fd, ldir->d_off, SEEK_SET);
+ ret = _sys_lseek(fd, ldir->d_off, SEEK_SET);
if (ret < 0)
return -ret;