summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-13 15:03:56 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-13 15:03:56 +0200
commit27fb90eb6e2e277849efca83405a75bc3c724b50 (patch)
tree97f38bb89b6004f0d925fec2b84bf9b0dcf4c4c1 /sys
parent9c1dff3fa9928dd66114f3899d8ede99fad2cd53 (diff)
vblade, cifs, usbuhci: fix parenthesis
Diffstat (limited to 'sys')
-rw-r--r--sys/src/9/pc/usbuhci.c2
-rw-r--r--sys/src/cmd/cifs/main.c2
-rw-r--r--sys/src/cmd/disk/vblade/vblade.c2
-rwxr-xr-x[-rw-r--r--]sys/src/cmd/hg/hgwebdir.cgi0
4 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/9/pc/usbuhci.c b/sys/src/9/pc/usbuhci.c
index 8b5d54b75..f532d071d 100644
--- a/sys/src/9/pc/usbuhci.c
+++ b/sys/src/9/pc/usbuhci.c
@@ -958,7 +958,7 @@ interrupt(Ureg*, void *a)
}
OUTS(Status, sts & Sall);
cmd = INS(Cmd);
- if(cmd & Crun == 0){
+ if((cmd & Crun) == 0){
iprint("uhci %#ux: not running: uhci bug?\n", ctlr->port);
/* BUG: should abort everything in this case */
}
diff --git a/sys/src/cmd/cifs/main.c b/sys/src/cmd/cifs/main.c
index 78f9dcb9a..68dd73138 100644
--- a/sys/src/cmd/cifs/main.c
+++ b/sys/src/cmd/cifs/main.c
@@ -550,7 +550,7 @@ smbcreateopen(Aux *a, char *path, int mode, int perm, int is_create,
break;
}
- if(mode & DMEXCL == 0)
+ if((mode & DMEXCL) == 0)
access |= 0x10;
else
access |= 0x40;
diff --git a/sys/src/cmd/disk/vblade/vblade.c b/sys/src/cmd/disk/vblade/vblade.c
index fac1abe33..079e126b5 100644
--- a/sys/src/cmd/disk/vblade/vblade.c
+++ b/sys/src/cmd/disk/vblade/vblade.c
@@ -398,7 +398,7 @@ serveata(Aoehdr *h, Vblade *vb, int mtu)
goto out;
}
- if(a->cmdstat&0xf0 == 0x20)
+ if((a->cmdstat&0xf0) == 0x20)
lba &= 0xfffffff;
switch(a->cmdstat){
default:
diff --git a/sys/src/cmd/hg/hgwebdir.cgi b/sys/src/cmd/hg/hgwebdir.cgi
index b09b4fa88..b09b4fa88 100644..100755
--- a/sys/src/cmd/hg/hgwebdir.cgi
+++ b/sys/src/cmd/hg/hgwebdir.cgi