summaryrefslogtreecommitdiff
path: root/usermux/node.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-02-28 16:35:07 +0000
committerRoland McGrath <roland@gnu.org>1999-02-28 16:35:07 +0000
commit20ef4e7f4201344faed79a5ed005dc8af98223bc (patch)
tree5e4c3877eb3b6e5c7125973b4fe71ad269355c0b /usermux/node.c
parent8b453af66ed84e0d2fd5dc3d4321fdde43571396 (diff)
1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
* node.c (netfs_attempt_utimes): Fix typo in last change.
Diffstat (limited to 'usermux/node.c')
-rw-r--r--usermux/node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usermux/node.c b/usermux/node.c
index e4a161d8..47fccf67 100644
--- a/usermux/node.c
+++ b/usermux/node.c
@@ -75,7 +75,7 @@ netfs_attempt_utimes (struct iouser *cred, struct node *node,
{
error_t err = fshelp_isowner (&node->nn_stat, cred);
int flags = TOUCH_CTIME;
-
+
if (! err)
{
if (mtime)
@@ -85,15 +85,15 @@ netfs_attempt_utimes (struct iouser *cred, struct node *node,
}
else
flags |= TOUCH_MTIME;
-
+
if (atime)
{
node->nn_stat.st_atime = atime->tv_sec;
node->nn_stat.st_atime_usec = atime->tv_nsec / 1000;
}
else
- flags != TOUCH_ATIME;
-
+ flags |= TOUCH_ATIME;
+
fshelp_touch (&node->nn_stat, TOUCH_CTIME, usermux_maptime);
}
return err;