summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-05-16 16:52:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-05-16 16:52:20 -0400
commita1231458e25a6b1d6e6a600d59ca1b252d65db1d (patch)
treeeb610856411cac63496798533a152fe50fe3c5a9 /src/dir.c
parentca8274a20d4c50706f2d40bfc58cba09a9a5c713 (diff)
downloadbfs-a1231458e25a6b1d6e6a600d59ca1b252d65db1d.tar.xz
Use SYS_* instead of __NR_*
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dir.c b/src/dir.c
index 30db5df..6739f10 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -32,7 +32,7 @@ static ssize_t bfs_getdents(int fd, void *buf, size_t size) {
#endif
#if __linux__ && __GLIBC__ && !__GLIBC_PREREQ(2, 30)
- ssize_t ret = syscall(__NR_getdents64, fd, buf, size);
+ ssize_t ret = syscall(SYS_getdents64, fd, buf, size);
#elif __linux__
ssize_t ret = getdents64(fd, buf, size);
#else