Skip to content

Commit

Permalink
Merge #950
Browse files Browse the repository at this point in the history
950: Fix #945 - documentation fix r=Susurrus a=jabedude

Correct references to user ids to group ids. Fixes #945 

Co-authored-by: Josh Abraham <sinisterpatrician@gmail.com>
  • Loading branch information
bors[bot] and jabedude committed Oct 11, 2018
2 parents 771a2fc + 00703a4 commit d5aec34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unistd.rs
Expand Up @@ -2138,9 +2138,9 @@ mod setres {
/// Sets the real, effective, and saved gid.
/// ([see setresuid(2)](http://man7.org/linux/man-pages/man2/setresuid.2.html))
///
/// * `rgid`: real user id
/// * `egid`: effective user id
/// * `sgid`: saved user id
/// * `rgid`: real group id
/// * `egid`: effective group id
/// * `sgid`: saved group id
/// * returns: Ok or libc error code.
///
/// Err is returned if the user doesn't have permission to set this GID.
Expand Down

0 comments on commit d5aec34

Please sign in to comment.