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/devusb.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/devusb.c')
-rw-r--r-- | sys/src/9/port/devusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devusb.c b/sys/src/9/port/devusb.c index 580c45e87..846ed32ab 100644 --- a/sys/src/9/port/devusb.c +++ b/sys/src/9/port/devusb.c @@ -629,7 +629,7 @@ usbgen(Chan *c, char *, Dirtab*, int, int s, Dir *dp) mkqid(&q, Qep0dir+4*s, 0, QTDIR); putep(ep); poperror(); - devdir(c, q, up->genbuf, 0, eve, 0755, dp); + devdir(c, q, up->genbuf, 0, eve, 0775, dp); if(0)ddprint("ok\n"); return 1; |