From 20ef4e7f4201344faed79a5ed005dc8af98223bc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 28 Feb 1999 16:35:07 +0000 Subject: 1999-02-28 Roland McGrath * node.c (netfs_attempt_utimes): Fix typo in last change. --- usermux/node.c | 8 ++++---- 1 file 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; -- cgit v1.2.3