From 7866f967efe1363e1565ab3fb680cb057b9def28 Mon Sep 17 00:00:00 2001 From: Arcterus Date: Wed, 18 Jun 2014 17:24:56 -0700 Subject: [PATCH] common: fix for Linux --- common/c_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/c_types.rs b/common/c_types.rs index ede2d6213..bf91354b9 100644 --- a/common/c_types.rs +++ b/common/c_types.rs @@ -161,7 +161,7 @@ pub fn get_group_list(name: *c_char, gid: gid_t) -> Vec { #[cfg(target_os = "linux")] #[inline(always)] unsafe fn get_group_list_internal(name: *c_char, gid: gid_t, groups: *mut gid_t, grcnt: *mut c_int) -> c_int { - getgrouplist(name, gid, groups, grcnt); + getgrouplist(name, gid, groups, grcnt) } #[cfg(target_os = "macos")]