upas/runq: fix typo

one slipped in to the last commit.
This commit is contained in:
Ori Bernstein 2021-01-23 16:38:32 -08:00
parent 51319cc5b5
commit f164ee6dd9

View file

@ -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);
}
/*