diff options
author | Roland McGrath <roland@gnu.org> | 1999-02-28 16:35:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-02-28 16:35:07 +0000 |
commit | 20ef4e7f4201344faed79a5ed005dc8af98223bc (patch) | |
tree | 5e4c3877eb3b6e5c7125973b4fe71ad269355c0b | |
parent | 8b453af66ed84e0d2fd5dc3d4321fdde43571396 (diff) |
1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
* node.c (netfs_attempt_utimes): Fix typo in last change.
-rw-r--r-- | usermux/node.c | 8 |
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; |