Consistent paramter naming for components

This commit is contained in:
Aaron Marcher
2018-07-06 08:08:48 +02:00
parent efa26f4f35
commit 51ff7ce2b9
5 changed files with 43 additions and 43 deletions

View File

@ -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;
}