diff options
Diffstat (limited to 'components/num_files.c')
-rw-r--r-- | components/num_files.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/num_files.c b/components/num_files.c index 86ea064..fb55df9 100644 --- a/components/num_files.c +++ b/components/num_files.c @@ -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; } |