From: Jim Meyering Date: Thu, 14 Apr 2005 12:09:00 +0000 (+0000) Subject: Correct typo, fchmod -> fchown, in a comment. X-Git-Tag: CPPI-1_12~994 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22abf053cac7995eed17933661b1746253d923e8;p=thirdparty%2Fcoreutils.git Correct typo, fchmod -> fchown, in a comment. --- diff --git a/src/chown-core.c b/src/chown-core.c index b1ab344539..2d3f40a7cc 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