upas/runq: fix typo
one slipped in to the last commit.
This commit is contained in:
parent
51319cc5b5
commit
f164ee6dd9
1 changed files with 3 additions and 2 deletions
|
@ -151,12 +151,13 @@ doalldirs(void)
|
|||
long i, n;
|
||||
|
||||
|
||||
if((fd = open(".", OREAD)) == -1)
|
||||
if((fd = open(".", OREAD)) == -1){
|
||||
warning("opening %s", root);
|
||||
return;
|
||||
}
|
||||
if((n = dirreadall(fd, &db)) == -1){
|
||||
warning("reading %s: ", root);
|
||||
close(fd);
|
||||
return;
|
||||
}
|
||||
for(i=0; i<n; i++){
|
||||
|
@ -166,8 +167,8 @@ doalldirs(void)
|
|||
continue;
|
||||
dodir(db[i].name);
|
||||
}
|
||||
free(db);
|
||||
close(fd);
|
||||
free(db);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue