summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-03-27 15:24:36 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-03-27 15:24:36 -0400
commit9f06eb0c0dfef4b6276253fe29f26e47d1ef7b30 (patch)
treeaf793cb08b91f091d251cf6351a6766b5b09bf78
parentccfc70a1ccca27a1481ae5dae11d8ea9f5fc8ef9 (diff)
downloadbfs-9f06eb0c0dfef4b6276253fe29f26e47d1ef7b30.tar.xz
dir: s/d_fileno/d_ino/
-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