summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
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 be2c44e..b92b7c2 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -216,7 +216,7 @@ static int bfs_getdent(struct bfs_dir *dir, const sys_dirent **de) {
static bool skip_dirent(const sys_dirent *de) {
#if __FreeBSD__
// NFS mounts on FreeBSD can return empty dirents with inode number 0
- if (de->d_fileno == 0) {
+ if (de->d_ino == 0) {
return true;
}
#endif