diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-06-03 23:33:35 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-06-03 23:33:35 +0200 |
commit | 56ffc907ac25b28e3640a2d1ef5b61df90f0b700 (patch) | |
tree | 4e185e8c2de6ce9e9bb15776881cdd8150b29210 /sys/src/9/port/devdup.c | |
parent | 8c70c09bfdfb5857e60e2455642603a883847c14 (diff) |
kernel: stop the practice of passing DMDIR to devir() perm argument
devdir internally replicates the qid in ther perm stat field
already and the practice of explicitely passing just causing
confusion when done inconsistently.
Diffstat (limited to 'sys/src/9/port/devdup.c')
-rw-r--r-- | sys/src/9/port/devdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devdup.c b/sys/src/9/port/devdup.c index cdc380324..2ba718729 100644 --- a/sys/src/9/port/devdup.c +++ b/sys/src/9/port/devdup.c @@ -17,7 +17,7 @@ dupgen(Chan *c, char *, Dirtab*, int, int s, Dir *dp) Qid q; if(s == DEVDOTDOT){ - devdir(c, c->qid, ".", 0, eve, DMDIR|0555, dp); + devdir(c, c->qid, ".", 0, eve, 0555, dp); return 1; } if(s == 0) |