diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-20 13:15:26 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-20 13:15:26 +0200 |
commit | 07af9be3a94690b3f4141d6919224937b83c3f40 (patch) | |
tree | 56e056366be6a845be064e6c184e6f63ddcac95d /sys/src/cmd/cwfs/9p2.c | |
parent | 56e71d5260182e2ac32e09767b7c9440048a1d2f (diff) |
cwfs: fix root access time qid path comparsion
Diffstat (limited to 'sys/src/cmd/cwfs/9p2.c')
-rw-r--r-- | sys/src/cmd/cwfs/9p2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/cwfs/9p2.c b/sys/src/cmd/cwfs/9p2.c index 70dd85c7b..1bf9b7fce 100644 --- a/sys/src/cmd/cwfs/9p2.c +++ b/sys/src/cmd/cwfs/9p2.c @@ -1471,7 +1471,7 @@ fs_stat(Chan* chan, Fcall* f, Fcall* r, uchar* data) if(error = mkqidcmp(&file->qid, d)) goto out; - if(d->qid.path == QPROOT) /* stat of root gives time */ + if(d->qid.path == (QPROOT|QPDIR)) /* stat of root gives time */ d->atime = time(nil); } len = mkdir9p2(&dir, d, data); |