Skip to content

Commit 348e238

Browse files
bors[bot]gco
andauthored
Merge #1991
1991: setgroups type mismatches on Solaris #1986 r=asomers a=gco Addresses #1986 Co-authored-by: gco <[email protected]>
2 parents 1a838c7 + 1d31d0d commit 348e238

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
@@ -1652,8 +1652,8 @@ pub fn setgroups(groups: &[Gid]) -> Result<()> {
16521652
target_os = "ios",
16531653
target_os = "macos",
16541654
target_os = "netbsd",
1655-
target_os = "illumos",
1656-
target_os = "openbsd"))] {
1655+
target_os = "openbsd",
1656+
target_os = "solaris"))] {
16571657
type setgroups_ngroups_t = c_int;
16581658
} else {
16591659
type setgroups_ngroups_t = size_t;

0 commit comments

Comments
 (0)