summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}