summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/stat.c')
-rw-r--r--otherlibs/unix/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/stat.c b/otherlibs/unix/stat.c
index 37e190ed4..6b69465c3 100644
--- a/otherlibs/unix/stat.c
+++ b/otherlibs/unix/stat.c
@@ -57,8 +57,8 @@ static value stat_aux(struct stat *buf)
Field (v, 7) = Val_int (buf->st_rdev);
Field (v, 8) = Val_int (buf->st_size);
Field (v, 9) = atime;
- Field (v, 10) = ctime;
- Field (v, 11) = mtime;
+ Field (v, 10) = mtime;
+ Field (v, 11) = ctime;
End_roots();
return v;
}