From: Marcin Lis Date: Mon, 7 Apr 2014 11:47:56 +0000 (+0200) Subject: Update deprecated libprivilege-control API functions. X-Git-Tag: accepted/tizen/generic/20140415.104754^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6c1a8d283af14b98ab49631df675ca780722142;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-share.git Update deprecated libprivilege-control API functions. Change-Id: Ieefa1d39e2ceacd7fab234488166986606f44f1f Signed-off-by: Marcin Lis --- diff --git a/bt-share/src/bt-share-main.c b/bt-share/src/bt-share-main.c index 4f1cc16..59ffc36 100644 --- a/bt-share/src/bt-share-main.c +++ b/bt-share/src/bt-share-main.c @@ -303,7 +303,7 @@ int main(void) return -1; /* Set the uid / gid to 5000 */ - if (set_app_privilege("com.samsung.bluetooth-share", NULL, NULL) != + if (perm_app_set_privilege("com.samsung.bluetooth-share", NULL, NULL) != PC_OPERATION_SUCCESS) ERR("Failed to set app privilege.\n");