summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgco <gco@jazzhaiku.com>2023-01-30 23:44:35 -0800
committergco <gco@jazzhaiku.com>2023-01-31 00:00:28 -0800
commit1d31d0d7f4a684e462a0f84ab13f6e72bda956b0 (patch)
tree8a41459197890ceee167cee7f2b5baed36c8af85 /src
parent1a838c7e54e6b908cc96db1c4a89dc87e8958f72 (diff)
downloadnix-1d31d0d7f4a684e462a0f84ab13f6e72bda956b0.zip
setgroups type mismatches on Solaris #1986
Diffstat (limited to 'src')
-rw-r--r--src/unistd.rs4
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;