Fix build warning 00/64600/1 accepted/tizen/common/20160406.143406 accepted/tizen/ivi/20160406.012026 accepted/tizen/mobile/20160406.011855 accepted/tizen/tv/20160406.011945 accepted/tizen/wearable/20160406.012006 submit/tizen/20160405.001024
authorMyungki Lee <mk5004.lee@samsung.com>
Mon, 4 Apr 2016 05:47:20 +0000 (14:47 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Mon, 4 Apr 2016 05:47:38 +0000 (14:47 +0900)
Change-Id: I65aa47edc825fbd5f6250eb55b8a9290c5d665df
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
client/src/pkgmgr.c

index c43b323..503c8ad 100644 (file)
@@ -1309,7 +1309,7 @@ API int pkgmgr_client_usr_activate(pkgmgr_client *pc, const char *pkg_type,
        int ret = PKGMGR_R_ECOMM;
        pkgmgr_client_t *mpc = (pkgmgr_client_t *)pc;
 
-       if (pc == NULL || pkgid == NULL | pkg_type == NULL) {
+       if (pc == NULL || pkgid == NULL || pkg_type == NULL) {
                ERR("invalid parameter");
                return PKGMGR_R_EINVAL;
        }