summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-17 22:50:55 +0000
committerGitHub <noreply@github.com>2020-08-17 22:50:55 +0000
commit83db58c088a63b4f45891617fea4b32bf8db4737 (patch)
tree8755058437cd9f4c0fc0fae32536a1063e02bba2
parent96054b6933404b4c1d5dbd49db7ec7c7a26e44de (diff)
parent5eb5c302d9f702c4826a553e3e3f7c30bf485db5 (diff)
downloadnix-83db58c088a63b4f45891617fea4b32bf8db4737.zip
Merge #1291
1291: doc typo in fchmodat r=asomers a=edneville fchmod should be fchmodat Signed-off-by: ed neville <ed@s5h.net> Co-authored-by: ed neville <ed@s5h.net>
-rw-r--r--src/sys/stat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/stat.rs b/src/sys/stat.rs
index c3915b09..df81a2cb 100644
--- a/src/sys/stat.rs
+++ b/src/sys/stat.rs
@@ -150,7 +150,7 @@ pub enum FchmodatFlags {
/// If `flag` is `FchmodatFlags::NoFollowSymlink` and `path` names a symbolic link,
/// then the mode of the symbolic link is changed.
///
-/// `fchmod(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
+/// `fchmodat(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
/// a call `libc::chmod(path, mode)`. That's why `chmod` is unimplemented
/// in the `nix` crate.
///