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;
|
long i, n;
|
||||||
|
|
||||||
|
|
||||||
if((fd = open(".", OREAD)) == -1)
|
if((fd = open(".", OREAD)) == -1){
|
||||||
warning("opening %s", root);
|
warning("opening %s", root);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if((n = dirreadall(fd, &db)) == -1){
|
if((n = dirreadall(fd, &db)) == -1){
|
||||||
warning("reading %s: ", root);
|
warning("reading %s: ", root);
|
||||||
|
close(fd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for(i=0; i<n; i++){
|
for(i=0; i<n; i++){
|
||||||
|
@ -166,8 +167,8 @@ doalldirs(void)
|
||||||
continue;
|
continue;
|
||||||
dodir(db[i].name);
|
dodir(db[i].name);
|
||||||
}
|
}
|
||||||
free(db);
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
free(db);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue