Update deprecated libprivilege-control API functions. 79/19179/1
authorMarcin Lis <m.lis@samsung.com>
Mon, 7 Apr 2014 11:47:56 +0000 (13:47 +0200)
committerMarcin Lis <m.lis@samsung.com>
Mon, 7 Apr 2014 11:47:56 +0000 (13:47 +0200)
Change-Id: Ieefa1d39e2ceacd7fab234488166986606f44f1f
Signed-off-by: Marcin Lis <m.lis@samsung.com>
bt-share/src/bt-share-main.c

index 4f1cc16..59ffc36 100644 (file)
@@ -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");