This commit is contained in:
rsc 2005-03-15 20:27:59 +00:00
parent 268d64df84
commit edefa2492c
2 changed files with 2 additions and 2 deletions

View file

@ -472,7 +472,7 @@ vacstdin(DirSink *dsink, char *name, VacFile *vf)
static int static int
sha1check(u8int *score, uchar *buf, int n) sha1check(u8int *score, uchar *buf, int n)
{ {
char score2[VtScoreSize]; uchar score2[VtScoreSize];
sha1(buf, n, score2, nil); sha1(buf, n, score2, nil);
if(memcmp(score, score2, VtScoreSize) == 0) if(memcmp(score, score2, VtScoreSize) == 0)

View file

@ -104,7 +104,7 @@ initfcalls(void)
fcalls[Tremove]= rremove; fcalls[Tremove]= rremove;
fcalls[Tstat]= rstat; fcalls[Tstat]= rstat;
fcalls[Twstat]= rwstat; fcalls[Twstat]= rwstat;
}; }
char Eperm[] = "permission denied"; char Eperm[] = "permission denied";
char Enotdir[] = "not a directory"; char Enotdir[] = "not a directory";