From 857a213c9177ab8cd381288d37c8f1049578ad5e Mon Sep 17 00:00:00 2001 From: Baptiste DURAND Date: Wed, 17 Sep 2014 15:28:19 +0200 Subject: [PATCH] Fix uninstallation through backend Change-Id: I49067892411766deba12ae0fc7011384a2c35a3e Signed-off-by: Baptiste DURAND --- client/src/pkgmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pkgmgr.c b/client/src/pkgmgr.c index d11714d..ec56c5b 100755 --- a/client/src/pkgmgr.c +++ b/client/src/pkgmgr.c @@ -1437,7 +1437,7 @@ API int pkgmgr_client_usr_uninstall(pkgmgr_client *pc, const char *pkg_type, retv_if(pkgid == NULL, PKGMGR_R_EINVAL); pkgmgr_pkginfo_h handle; - ret = pkgmgr_pkginfo_get_pkginfo(pkgid, &handle); + ret = pkgmgr_pkginfo_get_usr_pkginfo(pkgid, uid, &handle); /*check package id */ tryvm_if(ret < 0, ret = PKGMGR_R_EINVAL, "pkgmgr_pkginfo_get_pkginfo fail"); -- 2.7.4