From 512f705593c1072110b986f24260605e86055caa Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 7 Oct 2011 18:06:53 +0200 Subject: uid_wrapper: Fix prototypes. --- lib/uid_wrapper/uid_wrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/uid_wrapper') 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 -- cgit