This commit is contained in:
Russ Cox 2005-11-07 17:46:26 +00:00
parent 64b62a3fd4
commit d6701f9376

View File

@ -578,6 +578,7 @@ fsdirread(Chan *c, uchar *va, int count, ulong offset)
d.uid = "unknown";
d.gid = "unknown";
d.muid = "unknown";
d.qid = fsqid(path, &stbuf);
d.mode = (d.qid.type<<24)|(stbuf.st_mode&0777);
d.atime = stbuf.st_atime;