diff options
Diffstat (limited to 'components/num_files.c')
-rw-r--r-- | components/num_files.c | 2 |
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; } |