summaryrefslogtreecommitdiff
path: root/lib/verify.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-12-19 14:57:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-12-19 14:57:37 +0200
commitfe5e906ab2cfe9ed82ba7fa63277d5ce41451b87 (patch)
tree73656c095f33c9e7998d3e75be0ef224565759f2 /lib/verify.c
parentcbcff3bd99f11ad2e8ff8e37ebd32993f25d9a2f (diff)
downloadlibrpm-tizen-fe5e906ab2cfe9ed82ba7fa63277d5ce41451b87.tar.gz
librpm-tizen-fe5e906ab2cfe9ed82ba7fa63277d5ce41451b87.tar.bz2
librpm-tizen-fe5e906ab2cfe9ed82ba7fa63277d5ce41451b87.zip
Eliminate file info set argument to rpmpsmNew()
- ts element carries the info already, no need for separate argument
Diffstat (limited to 'lib/verify.c')
-rw-r--r--lib/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/verify.c b/lib/verify.c
index e96bfaa36..1fb0195d8 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -278,7 +278,7 @@ static int rpmVerifyScript(QVA_t qva, rpmts ts, Header h, FD_t scriptFd)
rpmtsSetScriptFd(ts, scriptFd);
/* create psm to run the script */
- psm = rpmpsmNew(ts, te, NULL);
+ psm = rpmpsmNew(ts, te);
rpmpsmScriptStage(psm, RPMTAG_VERIFYSCRIPT, RPMTAG_VERIFYSCRIPTPROG);
rc = rpmpsmStage(psm, PSM_SCRIPT);
psm = rpmpsmFree(psm);