diff options
author | Andreas Schneider <asn@samba.org> | 2011-10-07 18:06:53 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-10-27 13:32:01 +0200 |
commit | 512f705593c1072110b986f24260605e86055caa (patch) | |
tree | 63d8c214ed2ef55681ee4ee8400c1b8cdbe59dea /lib/uid_wrapper | |
parent | c7fbcf9b9834e5078218e2e7a9ba5a62a87fd45b (diff) | |
download | samba-512f705593c1072110b986f24260605e86055caa.tar.gz samba-512f705593c1072110b986f24260605e86055caa.tar.bz2 samba-512f705593c1072110b986f24260605e86055caa.zip |
uid_wrapper: Fix prototypes.
Diffstat (limited to 'lib/uid_wrapper')
-rw-r--r-- | lib/uid_wrapper/uid_wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uid_wrapper/uid_wrapper.h b/lib/uid_wrapper/uid_wrapper.h index 51a11c57f2..27b7abccb3 100644 --- a/lib/uid_wrapper/uid_wrapper.h +++ b/lib/uid_wrapper/uid_wrapper.h @@ -25,7 +25,7 @@ int uwrap_setreuid(uid_t reuid, uid_t euid); int uwrap_setresuid(uid_t reuid, uid_t euid, uid_t suid); uid_t uwrap_geteuid(void); int uwrap_setegid(gid_t egid); -int uwrap_setregid(gid_t egid); +int uwrap_setregid(gid_t rgid, gid_t egid); uid_t uwrap_getegid(void); int uwrap_setgroups(size_t size, const gid_t *list); int uwrap_getgroups(int size, gid_t *list); @@ -55,7 +55,7 @@ gid_t uwrap_getgid(void); #ifdef setregid #undef setregid #endif -#define setregid uwrap_setegid +#define setregid uwrap_setregid #ifdef geteuid #undef geteuid |