summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-08-16 16:19:06 -0400
committerDan McGee <dan@archlinux.org>2007-08-16 16:19:06 -0400
commitfc65a9bcb1722ae9768518aa921c5f02cf282b96 (patch)
treec416161dc701dc803cbb02db6d693bd88464284e /lib/libalpm/trans.c
parent16c91bedf844f5f7764aa78b801ca023810611c3 (diff)
downloadpacman-fc65a9bcb1722ae9768518aa921c5f02cf282b96.tar.xz
Fix some errors spit out by -Wextra
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 7d7e2021..ca8d6ce9 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -569,7 +569,7 @@ static int grep(const char *fn, const char *needle)
int _alpm_runscriptlet(const char *root, const char *installfn,
const char *script, const char *ver,
- const char *oldver, pmtrans_t *trans)
+ const char *oldver)
{
char scriptfn[PATH_MAX];
char cmdline[PATH_MAX];