Skip to content

Commit 885b943

Browse files
committed
Fix description of fchownat
1 parent b44daa1 commit 885b943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unistd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@ pub enum FchownatFlags {
758758
/// If `flag` is `FchownatFlags::NoFollowSymlink` and `path` names a symbolic link,
759759
/// then the mode of the symbolic link is changed.
760760
///
761-
/// `fchownat(None, path, mode, FchownatFlags::NoFollowSymlink)` is identical to
762-
/// a call `libc::lchown(path, mode)`. That's why `lchmod` is unimplemented in
761+
/// `fchownat(None, path, owner, group, FchownatFlags::NoFollowSymlink)` is identical to
762+
/// a call `libc::lchown(path, owner, group)`. That's why `lchown` is unimplemented in
763763
/// the `nix` crate.
764764
///
765765
/// # References

0 commit comments

Comments
 (0)