summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 2d60ca4ea60..0f0d500e420 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -490,7 +490,7 @@ posix_do_utimes (xlator_t *this,
tv[0].tv_sec = stbuf->st_atime;
tv[0].tv_usec = ST_ATIM_NSEC (stbuf) / 1000;
tv[1].tv_sec = stbuf->st_mtime;
- tv[1].tv_usec = ST_ATIM_NSEC (stbuf) / 1000;
+ tv[1].tv_usec = ST_MTIM_NSEC (stbuf) / 1000;
ret = utimes (path, tv);