summaryrefslogtreecommitdiff
path: root/components/num_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/num_files.c')
-rw-r--r--components/num_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/num_files.c b/components/num_files.c
index 327a64d..9179037 100644
--- a/components/num_files.c
+++ b/components/num_files.c
@@ -14,7 +14,7 @@ num_files(const char *dir)
int num;
if (!(fd = opendir(dir))) {
- fprintf(stderr, "opendir '%s': %s\n", dir, strerror(errno));
+ warn("opendir '%s':", dir);
return NULL;
}