Skip to content

Commit 84c1b75

Browse files
committed
NetBSD: Fix uucred.cr_ngroups from int to short
Link: https://github.com/NetBSD/src/blob/6017cb90fd7d83ed6e45d93129b12d525978c2fa/sys/sys/ucred.h#L52 (backport <#4782>) (cherry picked from commit 3bb84eb)
1 parent d1143f5 commit 84c1b75

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+1
-1
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ s! {
395395
pub cr_unused: c_ushort,
396396
pub cr_uid: crate::uid_t,
397397
pub cr_gid: crate::gid_t,
398-
pub cr_ngroups: c_int,
398+
pub cr_ngroups: c_short,
399399
pub cr_groups: [crate::gid_t; NGROUPS_MAX as usize],
400400
}
401401

0 commit comments

Comments
 (0)