summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/protocol.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h
index 3efe5356744..a9ba658238b 100644
--- a/libglusterfs/src/protocol.h
+++ b/libglusterfs/src/protocol.h
@@ -75,11 +75,11 @@ gf_stat_to_stat (struct gf_stat *gf_stat, struct stat *stat)
stat->st_blksize = ntoh32 (gf_stat->blksize);
stat->st_blocks = ntoh64 (gf_stat->blocks);
stat->st_atime = ntoh32 (gf_stat->atime);
- ST_ATIM_NSEC_SET(stat, gf_stat->atime_nsec);
- stat->st_mtime = ntoh32 (gf_stat->mtime);
- ST_MTIM_NSEC_SET(stat, gf_stat->mtime_nsec);
- stat->st_ctime = ntoh32 (gf_stat->ctime);
- ST_CTIM_NSEC_SET(stat, gf_stat->ctime_nsec);
+ ST_ATIM_NSEC_SET(stat, ntoh32 (gf_stat->atime_nsec));
+ stat->st_mtime = ntoh32 (gf_stat->mtime);
+ ST_MTIM_NSEC_SET(stat, ntoh32 (gf_stat->mtime_nsec));
+ stat->st_ctime = ntoh32 (gf_stat->ctime);
+ ST_CTIM_NSEC_SET(stat, ntoh32 (gf_stat->ctime_nsec));
}