From e6c1a8d283af14b98ab49631df675ca780722142 Mon Sep 17 00:00:00 2001 From: Marcin Lis Date: Mon, 7 Apr 2014 13:47:56 +0200 Subject: [PATCH] Update deprecated libprivilege-control API functions. Change-Id: Ieefa1d39e2ceacd7fab234488166986606f44f1f Signed-off-by: Marcin Lis --- bt-share/src/bt-share-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.7.4