diff options
Diffstat (limited to 'internal/syscallcompat')
-rw-r--r-- | internal/syscallcompat/getdents_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/syscallcompat/getdents_linux.go b/internal/syscallcompat/getdents_linux.go index 1b3569b..aaa69ac 100644 --- a/internal/syscallcompat/getdents_linux.go +++ b/internal/syscallcompat/getdents_linux.go @@ -55,7 +55,7 @@ func getdents(fd int) ([]fuse.DirEntry, error) { } if int(s.Reclen) > sizeofDirent { tlog.Warn.Printf("Getdents: corrupt entry #%d: Reclen=%d > %d. Returning EBADR", - numEntries, sizeofDirent, s.Reclen) + numEntries, s.Reclen, sizeofDirent) return nil, syscall.EBADR } offset += int(s.Reclen) |