Plan 9 from Bell Labs 2001-09-13
1 files changed, 4 insertions(+), 2 deletions(-) M port/devdraw.c
M port/devdraw.c => port/devdraw.c +4 -2
@@ 906,8 906,10 @@ drawopen(Chan *c, int omode) { Client *cl; - if(c->qid.type & QTDIR) - return devopen(c, omode, 0, 0, drawgen); + if(c->qid.type & QTDIR){ + c = devopen(c, omode, 0, 0, drawgen); + c->iounit = 32*1024; + } qlock(&sdraw); if(waserror()){