summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authormckay <mckay@FreeBSD.org>2001-12-11 13:14:15 +0000
committermckay <mckay@FreeBSD.org>2001-12-11 13:14:15 +0000
commitdd266e645ee8ebc1e5c3ec2b069bd25f8e942c2b (patch)
tree299369f34b77ba3b7a01176f44e440ba824405c3 /bin
parentb7ccf7682354416b1052b26aeb5c0daefd8ad3b3 (diff)
downloadFreeBSD-src-dd266e645ee8ebc1e5c3ec2b069bd25f8e942c2b.zip
FreeBSD-src-dd266e645ee8ebc1e5c3ec2b069bd25f8e942c2b.tar.gz
Typo in warning message (chown should be chmod).
Diffstat (limited to 'bin')
-rw-r--r--bin/cp/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c
index 6f5ed40..adc04a7 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;
}
OpenPOWER on IntegriCloud