From: Semun Lee Date: Wed, 23 Mar 2016 23:32:46 +0000 (+0900) Subject: Fix build break X-Git-Tag: accepted/tizen/common/20160325.135023^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fsystem%2Ftizen-platform-wrapper.git;a=commitdiff_plain;h=5373002b43a599a47d6330e1d46faf10a33c8c3f Fix build break Change-Id: Ib72301f6c702effde0a0100a4ae30aaf14853d77 Signed-off-by: Semun Lee --- diff --git a/src/isadmin.c b/src/isadmin.c index 130f43e..f62a449 100644 --- a/src/isadmin.c +++ b/src/isadmin.c @@ -74,7 +74,7 @@ int _has_system_group_static_(uid_t uid) { /* Get all the gid of the given uid */ - getpwuid(myuid, &pwd, buf, sizeof(buf), &userinfo); + getpwuid_r(myuid, &pwd, buf, sizeof(buf), &userinfo); /* Need to call this function now to get the number of group to make the malloc correctly sized */