summaryrefslogtreecommitdiff
path: root/src/chown-core.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-04-14 12:09:00 +0000
committerJim Meyering <jim@meyering.net>2005-04-14 12:09:00 +0000
commit22abf053cac7995eed17933661b1746253d923e8 (patch)
treeb40b5ad153610911b3fc97f459ec54c43571818c /src/chown-core.c
parent5e54cfb18b0e322a1d60da0cfcaeee9aa70196d7 (diff)
downloadcoreutils-22abf053cac7995eed17933661b1746253d923e8.tar.xz
Correct typo, fchmod -> fchown, in a comment.
Diffstat (limited to 'src/chown-core.c')
-rw-r--r--src/chown-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chown-core.c b/src/chown-core.c
index b1ab34453..2d3f40a7c 100644
--- a/src/chown-core.c
+++ b/src/chown-core.c
@@ -175,7 +175,7 @@ describe_change (const char *file, enum Change_status changed,
FILE and do everything else via the resulting file descriptor.
We first call fstat and verify that the dev/inode match those from
the preceding stat call, and only then, if appropriate (given the
- required_uid and required_gid constraints) do we call fchmod.
+ required_uid and required_gid constraints) do we call fchown.
A minor problem:
This function fails when FILE cannot be opened, but chown/lchown have