summaryrefslogtreecommitdiffstats
path: root/bin/chmod
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chmod')
-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 90164eb..a8ec2d9 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -193,7 +193,7 @@ done: argv += optind;
}
if (chmod(p->fts_accpath, oct ? omode :
getmode(set, p->fts_statp->st_mode)) && !fflag) {
- warn(p->fts_path);
+ warn("%s", p->fts_path);
rval = 1;
} else {
if (vflag)
OpenPOWER on IntegriCloud