summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <s89.jang@samsung.com>2015-04-14 11:04:41 +0900
committerSangyoon Jang <s89.jang@samsung.com>2015-04-14 11:04:41 +0900
commitf0d84030d6885409cefbc00c67a9dad4c3fe4bfa (patch)
tree01df16e2bf63b329451566ecc2816ccc81666613
parenteef55c687314cd2e62f9e67b696cb9dffc59bd3b (diff)
downloadaul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.tar.gz
aul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.tar.bz2
aul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.zip
use uid took over instead of getuid Change-Id: I27ce3a6a0206d08ce76fb8a247909cc792d6378f Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r--include/menu_db_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu_db_util.h b/include/menu_db_util.h
index a61ad71a..d6074da8 100644
--- a/include/menu_db_util.h
+++ b/include/menu_db_util.h
@@ -236,7 +236,7 @@ static inline app_info_from_db *_get_app_info_from_db_by_apppath_user(
if (uid != GLOBAL_USER)
ret = pkgmgrinfo_appinfo_usr_filter_foreach_appinfo(filter,
- __appinfo_func, (void *)menu_info, getuid());
+ __appinfo_func, (void *)menu_info, uid);
else
ret = pkgmgrinfo_appinfo_filter_foreach_appinfo(filter,
__appinfo_func, (void *)menu_info);