aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/chmod/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 27695f378c9b..2cc37d8002b6 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -171,7 +171,7 @@ done: argv += optind;
}
if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL)
- err(1, NULL);
+ err(1, "fts_open");
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
switch (p->fts_info) {
case FTS_D: /* Change it at FTS_DP. */