summaryrefslogtreecommitdiff
path: root/src/fuchsia
diff options
context:
space:
mode:
authorCharles Lew <crlf0710@gmail.com>2019-04-29 22:12:41 +0800
committerCharles Lew <crlf0710@gmail.com>2019-04-29 22:12:41 +0800
commit1cf0294e2dd520dee96f2442478ac76bccbbbc58 (patch)
treea8f2e5fd8dbba94e431ae32896104deb1254f231 /src/fuchsia
parentf9818f14f80101910c386e1f695555934735a2af (diff)
downloadrust-libc-1cf0294e2dd520dee96f2442478ac76bccbbbc58.tar.gz
Fix getgrgid_r to accept gid_t.
Diffstat (limited to 'src/fuchsia')
-rw-r--r--src/fuchsia/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs
index 01317e30a4..cef48e5224 100644
--- a/src/fuchsia/mod.rs
+++ b/src/fuchsia/mod.rs
@@ -4168,7 +4168,7 @@ extern {
offset: *mut off_t,
count: ::size_t) -> ::ssize_t;
pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int;
- pub fn getgrgid_r(uid: ::uid_t,
+ pub fn getgrgid_r(gid: ::gid_t,
grp: *mut ::group,
buf: *mut ::c_char,
buflen: ::size_t,