diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 90164ebff5a8..a8ec2d92dfd7 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)