summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index bd5c32a..4a482fc 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1114,7 +1114,7 @@ _pystat_fromstructstat(STRUCT_STAT *st)
unsigned long bsec,bnsec;
bsec = (long)st->st_birthtime;
#ifdef HAVE_STAT_TV_NSEC2
- bnsec = st.st_birthtimespec->tv_nsec;
+ bnsec = st->st_birthtimespec.tv_nsec;
#else
bnsec = 0;
#endif