diff options
author | spew <devnull@localhost> | 2018-06-17 17:38:00 -0400 |
---|---|---|
committer | spew <devnull@localhost> | 2018-06-17 17:38:00 -0400 |
commit | 583c6d269b4589be4d3b711b56ccf51d89414215 (patch) | |
tree | 2ee7ed9ce76ba0970cdfd323e8f0ec4cbfd6a3f5 /sys/src/ape/lib/ap/plan9/dirtostat.c | |
parent | 0763dd42793dea2023e0f345f647af9932486841 (diff) |
ape: add some common fields for stat, grp and pwd
Diffstat (limited to 'sys/src/ape/lib/ap/plan9/dirtostat.c')
-rw-r--r-- | sys/src/ape/lib/ap/plan9/dirtostat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/ape/lib/ap/plan9/dirtostat.c b/sys/src/ape/lib/ap/plan9/dirtostat.c index 6abc6dfa7..3dcbafd18 100644 --- a/sys/src/ape/lib/ap/plan9/dirtostat.c +++ b/sys/src/ape/lib/ap/plan9/dirtostat.c @@ -27,6 +27,7 @@ _dirtostat(struct stat *s, Dir *d, Fdinfo *fi) s->st_nlink = 1; s->st_uid = 1; s->st_gid = 1; + s->st_rdev = 0; if(fi && (fi->flags&FD_BUFFERED)) s->st_size = fi->buf->n; else |