aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/cb/cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/cb/cb.c')
-rw-r--r--src/cmd/cb/cb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/cb/cb.c b/src/cmd/cb/cb.c
index 0b245896..9e611f04 100644
--- a/src/cmd/cb/cb.c
+++ b/src/cmd/cb/cb.c
@@ -29,7 +29,7 @@ main(int argc, char *argv[])
maxleng -= (maxleng + 5)/10;
continue;
default:
- fprint(2, "cb: illegal option %c\n", *argv[1]);
+ fprint(2, "cb: illegal option %c\n", (*argv)[1]);
exits("boom");
}
}
@@ -354,7 +354,7 @@ work(void){
continue;
}
}
- else if (lbegin == 0 || p > string)
+ else if (lbegin == 0 || p > string)
if(strict)
putch(c,NO);
else putch(c,YES);
@@ -969,7 +969,7 @@ cont:
if(nlct++ > 2)goto done;
}
puttmp(c,1);
- star:
+star:
if(puttmp((c=Bgetc(input)),1) == '/'){
beg = tp;
puttmp((c=Bgetc(input)),1);