summaryrefslogtreecommitdiff
path: root/netfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'netfs.c')
-rw-r--r--netfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netfs.c b/netfs.c
index 03b7c4671..d99375655 100644
--- a/netfs.c
+++ b/netfs.c
@@ -80,12 +80,12 @@ netfs_attempt_utimes (struct iouser *cred, struct node *node,
if (!err) {
if (atime)
- node->nn_stat.st_atim = atime;
+ node->nn_stat.st_atim = *atime;
else
flags |= TOUCH_ATIME;
if (mtime)
- node->nn_stat.st_mtim = mtime;
+ node->nn_stat.st_mtim = *mtime;
else
flags |= TOUCH_MTIME;