summaryrefslogtreecommitdiff
path: root/components/num_files.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-07-06 08:08:48 +0200
committerAaron Marcher <me@drkhsh.at>2018-07-06 08:08:48 +0200
commita5a5212984495d4f60949f72d04d6f9d6e7a7d6c (patch)
tree5d5bb891f9143825b0f081cde6d2c27a9e49d80e /components/num_files.c
parent19cbbfab327927936065f3cb0cd7dcb1e1d7a4bd (diff)
Consistent paramter naming for components
Diffstat (limited to 'components/num_files.c')
-rw-r--r--components/num_files.c6
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;
}