提交 c19a6be5 编写于 作者: R Rich Felker

it's called getgrgid_r, not getgruid_r...

上级 ecc0f513
......@@ -47,7 +47,7 @@ int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struc
return getgr_r(name, 0, gr, buf, size, res);
}
int getgruid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res)
int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res)
{
return getgr_r(0, gid, gr, buf, size, res);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册