summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
authorvaldaarhun <icegambit91@gmail.com>2022-07-16 00:18:34 +0530
committervaldaarhun <icegambit91@gmail.com>2022-07-16 00:18:34 +0530
commit885b9430ae806a8e15ab61a0a342371dc85c4790 (patch)
tree660cca7cca7211b6563db72f6a070458da40a218 /src/unistd.rs
parentb44daa13622a22e4687d18c6c96c71e7cc1fcd85 (diff)
downloadnix-885b9430ae806a8e15ab61a0a342371dc85c4790.zip
Fix description of fchownat
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index 6dd0c164..d3915dcc 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -758,8 +758,8 @@ pub enum FchownatFlags {
/// If `flag` is `FchownatFlags::NoFollowSymlink` and `path` names a symbolic link,
/// then the mode of the symbolic link is changed.
///
-/// `fchownat(None, path, mode, FchownatFlags::NoFollowSymlink)` is identical to
-/// a call `libc::lchown(path, mode)`. That's why `lchmod` is unimplemented in
+/// `fchownat(None, path, owner, group, FchownatFlags::NoFollowSymlink)` is identical to
+/// a call `libc::lchown(path, owner, group)`. That's why `lchown` is unimplemented in
/// the `nix` crate.
///
/// # References