diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-11 04:21:39 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-11 04:21:39 +0000 |
commit | d5aec34836672f1835e4c222f90b499eee7b5845 (patch) | |
tree | 123f59eff27a5cc511e2ac20ad8479cfe252672d | |
parent | 771a2fc793f3b1a1d85408578ff3b054f22b041b (diff) | |
parent | 00703a43c0811ea46b390cdef9636124a7e59458 (diff) | |
download | nix-d5aec34836672f1835e4c222f90b499eee7b5845.zip |
Merge #950
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>
-rw-r--r-- | src/unistd.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index 1f357c41..ad06a3c0 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -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. |