mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
readdir: use getdents64 for compatibility with ARM64
This commit is contained in:
parent
c97102bc9d
commit
5989d41a86
7 changed files with 41 additions and 52 deletions
|
|
@ -31,7 +31,7 @@ namespace fs
|
|||
unsigned int count_)
|
||||
{
|
||||
#if defined SYS_getdents64
|
||||
return ::syscall(SYS_getdents,fd_,dirp_,count_);
|
||||
return ::syscall(SYS_getdents64,fd_,dirp_,count_);
|
||||
#else
|
||||
return (errno=ENOTSUP,-1);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue