INSTALL_EXTERNAL, image_path, uid);
if (pkgmgr_ret < 0) {
_E("failed to update installed location to db " \
- "[%s, %s] of uid(%d), pkgmgr_ret(%d)",
+ "[%s, %d] of uid(%d), pkgmgr_ret(%d)",
pkgid, INSTALL_EXTERNAL, uid, pkgmgr_ret);
return APP2EXT_ERROR_PKGMGR_ERROR;
}
INSTALL_INTERNAL, image_path, uid);
if (pkgmgr_ret < 0) {
_E("failed to update installed location to db " \
- "[%s, %s] of uid(%d), pkgmgr_ret(%d)",
+ "[%s, %d] of uid(%d), pkgmgr_ret(%d)",
pkgid, INSTALL_INTERNAL, uid, pkgmgr_ret);
return APP2EXT_ERROR_PKGMGR_ERROR;
}
_W("src(%s) not exist, skip!", src);
return ret;
} else {
- _E("failed to open src(%s) dir, errno(%d)", errno);
+ _E("failed to open src(%s) dir, errno(%d)", src, errno);
return APP2EXT_ERROR_ACCESS_FILE;
}
}
_E("dest(%s) not exist, failed!", dest);
return APP2EXT_ERROR_ACCESS_FILE;
} else {
- _E("failed to open dest(%s) dir, errno(%d)", errno);
+ _E("failed to open dest(%s) dir, errno(%d)",
+ dest, errno);
return APP2EXT_ERROR_ACCESS_FILE;
}
}