diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 6f5ed4098f9..adc04a72770 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -293,7 +293,7 @@ setfile(fs, fd) if (!gotstat || fs->st_mode != ts.st_mode) if (fd ? fchmod(fd, fs->st_mode) : chmod(to.p_path, fs->st_mode)) { - warn("chown: %s", to.p_path); + warn("chmod: %s", to.p_path); rval = 1; }