summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-13 14:13:26 +0100
committerGravatar Nikias Bassen2013-12-13 14:13:26 +0100
commit0d81648614ec4fe410bb01bcd8367be35657b045 (patch)
tree62be6909f9032b0d061a9c328895e5c976f6279b /src
parentcd05b3503d75eae088f7bc9b86819de01404dfb0 (diff)
downloadifuse-0d81648614ec4fe410bb01bcd8367be35657b045.tar.gz
ifuse-0d81648614ec4fe410bb01bcd8367be35657b045.tar.bz2
fix darwin compilation
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index c7aa01b..128f09f 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -255,7 +255,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf)
}
#ifdef _DARWIN_FEATURE_64_BIT_INODE
else if (!strcmp(info[i], "st_birthtime")) { /* available on iOS 7+ */
- stbuf->st_birthtimespec = (time_t)(atoll(info[i+1]) / 1000000000);
+ stbuf->st_birthtime = (time_t)(atoll(info[i+1]) / 1000000000);
}
#endif
}