summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2023-06-09 15:05:58 +0900
committerbiao716.wang <biao716.wang@samsung.com>2023-06-09 15:05:58 +0900
commit52fdf747b37d00f7c879e69772c2422139108206 (patch)
tree60387b0219246967600bca45f28af208bb7444b4
parent98c33f83790ffc40562267d7adc84469959c88df (diff)
downloadrpm-52fdf747b37d00f7c879e69772c2422139108206.tar.gz
rpm-52fdf747b37d00f7c879e69772c2422139108206.tar.bz2
rpm-52fdf747b37d00f7c879e69772c2422139108206.zip
correct to use right hookFunc in rpmpluginsCallFileConflictsubmit/tizen_base/20230612.131030
Change-Id: I172f3fada936e6af8026afe647f475b5b086c258 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rw-r--r--lib/rpmplugins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rpmplugins.c b/lib/rpmplugins.c
index 4892bb18a..88d4f06ad 100644
--- a/lib/rpmplugins.c
+++ b/lib/rpmplugins.c
@@ -483,12 +483,12 @@ rpmRC rpmpluginsCallFileConflict(rpmPlugins plugins, rpmts ts, char* path,
for (i = 0; i < plugins->count; i++) {
rpmPlugin plugin = plugins->plugins[i];
- RPMPLUGINS_SET_HOOK_FUNC(psm_verify);
+ RPMPLUGINS_SET_HOOK_FUNC(fsm_file_conflict);
if (hookFunc && hookFunc(ts, path, oldHeader, oldFi, res) == RPMRC_FAIL)
{
- rpmlog(RPMLOG_ERR, "Plugin %s: hook psm_verify failed\n", plugin->name);
- rc = RPMRC_FAIL;
+ rpmlog(RPMLOG_ERR, "Plugin %s: hook fsm_file_conflict failed\n", plugin->name);
+ rc = RPMRC_FAIL;
}
}