OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc0f51
)
it's called getgrgid_r, not getgruid_r...
author
Rich Felker
<dalias@aerifal.cx>
Wed, 8 Jun 2011 20:47:08 +0000
(16:47 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 8 Jun 2011 20:47:08 +0000
(16:47 -0400)
src/passwd/getgr_r.c
patch
|
blob
|
history
diff --git
a/src/passwd/getgr_r.c
b/src/passwd/getgr_r.c
index
5b1333e
..
33e35d3
100644
(file)
--- a/
src/passwd/getgr_r.c
+++ b/
src/passwd/getgr_r.c
@@
-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 getgr
u
id_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res)
+int getgr
g
id_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res)
{
return getgr_r(0, gid, gr, buf, size, res);
}