diff options
author | gco <gco@jazzhaiku.com> | 2023-01-30 23:44:35 -0800 |
---|---|---|
committer | gco <gco@jazzhaiku.com> | 2023-01-31 00:00:28 -0800 |
commit | 1d31d0d7f4a684e462a0f84ab13f6e72bda956b0 (patch) | |
tree | 8a41459197890ceee167cee7f2b5baed36c8af85 | |
parent | 1a838c7e54e6b908cc96db1c4a89dc87e8958f72 (diff) | |
download | nix-1d31d0d7f4a684e462a0f84ab13f6e72bda956b0.zip |
setgroups type mismatches on Solaris #1986
-rw-r--r-- | src/unistd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index fc3c405d..a10c17b5 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -1652,8 +1652,8 @@ pub fn setgroups(groups: &[Gid]) -> Result<()> { target_os = "ios", target_os = "macos", target_os = "netbsd", - target_os = "illumos", - target_os = "openbsd"))] { + target_os = "openbsd", + target_os = "solaris"))] { type setgroups_ngroups_t = c_int; } else { type setgroups_ngroups_t = size_t; |