summaryrefslogtreecommitdiff
path: root/src/sys/stat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/stat.rs')
-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.
///