Consistent paramter naming for components
This commit is contained in:
parent
efa26f4f35
commit
51ff7ce2b9
5 changed files with 43 additions and 43 deletions
|
@ -6,14 +6,14 @@
|
|||
#include "../util.h"
|
||||
|
||||
const char *
|
||||
num_files(const char *dir)
|
||||
num_files(const char *path)
|
||||
{
|
||||
struct dirent *dp;
|
||||
DIR *fd;
|
||||
int num;
|
||||
|
||||
if (!(fd = opendir(dir))) {
|
||||
warn("opendir '%s':", dir);
|
||||
if (!(fd = opendir(path))) {
|
||||
warn("opendir '%s':", path);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue