vblade, cifs, usbuhci: fix parenthesis

This commit is contained in:
cinap_lenrek 2015-06-13 15:03:56 +02:00
parent 9c1dff3fa9
commit 27fb90eb6e
4 changed files with 3 additions and 3 deletions

View file

@ -958,7 +958,7 @@ interrupt(Ureg*, void *a)
} }
OUTS(Status, sts & Sall); OUTS(Status, sts & Sall);
cmd = INS(Cmd); cmd = INS(Cmd);
if(cmd & Crun == 0){ if((cmd & Crun) == 0){
iprint("uhci %#ux: not running: uhci bug?\n", ctlr->port); iprint("uhci %#ux: not running: uhci bug?\n", ctlr->port);
/* BUG: should abort everything in this case */ /* BUG: should abort everything in this case */
} }

View file

@ -550,7 +550,7 @@ smbcreateopen(Aux *a, char *path, int mode, int perm, int is_create,
break; break;
} }
if(mode & DMEXCL == 0) if((mode & DMEXCL) == 0)
access |= 0x10; access |= 0x10;
else else
access |= 0x40; access |= 0x40;

View file

@ -398,7 +398,7 @@ serveata(Aoehdr *h, Vblade *vb, int mtu)
goto out; goto out;
} }
if(a->cmdstat&0xf0 == 0x20) if((a->cmdstat&0xf0) == 0x20)
lba &= 0xfffffff; lba &= 0xfffffff;
switch(a->cmdstat){ switch(a->cmdstat){
default: default:

0
sys/src/cmd/hg/hgwebdir.cgi Normal file → Executable file
View file