projects
/
platform
/
core
/
connectivity
/
bluetooth-share.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507bbf3
)
Update deprecated libprivilege-control API functions.
79/19179/1
author
Marcin Lis
<m.lis@samsung.com>
Mon, 7 Apr 2014 11:47:56 +0000
(13:47 +0200)
committer
Marcin 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
patch
|
blob
|
history
diff --git
a/bt-share/src/bt-share-main.c
b/bt-share/src/bt-share-main.c
index
4f1cc16
..
59ffc36
100644
(file)
--- 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");