aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/vac/vac.c2
-rw-r--r--src/cmd/vac/vacfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index 01626ced..0b4f818a 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -472,7 +472,7 @@ vacstdin(DirSink *dsink, char *name, VacFile *vf)
static int
sha1check(u8int *score, uchar *buf, int n)
{
- char score2[VtScoreSize];
+ uchar score2[VtScoreSize];
sha1(buf, n, score2, nil);
if(memcmp(score, score2, VtScoreSize) == 0)
diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c
index 7ec23469..6720919c 100644
--- a/src/cmd/vac/vacfs.c
+++ b/src/cmd/vac/vacfs.c
@@ -104,7 +104,7 @@ initfcalls(void)
fcalls[Tremove]= rremove;
fcalls[Tstat]= rstat;
fcalls[Twstat]= rwstat;
-};
+}
char Eperm[] = "permission denied";
char Enotdir[] = "not a directory";