summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2012-03-29 15:47:41 +0200
committerFlorian Festi <ffesti@redhat.com>2012-03-30 15:00:41 +0200
commitc5282fc60d8ce354807b10b4dbb8767c7d9b5883 (patch)
treeccf76758c0cafa221069c499bfcd96fe9df0c747 /lib/psm.c
parentbd60c4285f98fb40be39ad00d78d0a1c34f04592 (diff)
downloadlibrpm-tizen-c5282fc60d8ce354807b10b4dbb8767c7d9b5883.tar.gz
librpm-tizen-c5282fc60d8ce354807b10b4dbb8767c7d9b5883.tar.bz2
librpm-tizen-c5282fc60d8ce354807b10b4dbb8767c7d9b5883.zip
Kill FSM: Make FSM_PKGERASE a function
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 161c77e13..8f5376d49 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -853,8 +853,8 @@ static rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
/* XXX should't we log errors from here? */
if (rpmfiFC(fi) > 0 && !(rpmtsFlags(ts) & RPMTRANS_FLAG_JUSTDB)) {
- rc = rpmfsmRun(FSM_PKGERASE, psm->ts, psm->te, psm->fi,
- NULL, psm, NULL, &psm->failedFile);
+ rc = rpmPackageFilesRemove(psm->ts, psm->te, psm->fi,
+ psm, &psm->failedFile);
}
/* XXX make sure progress reaches 100% */