diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 10:14:13 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 10:14:13 +0000 |
commit | 8a53d5a3d7c330659a97382fdb9a358ea9022357 (patch) | |
tree | c6c2574544b00e9b870fee7d805de5aa4c7c16a1 /lib/libalpm/add.c | |
parent | b3450fbe0d7187cf22172817e0a2612e7c96fcb0 (diff) | |
download | pacman-8a53d5a3d7c330659a97382fdb9a358ea9022357.tar.xz |
Fixed missing parameter in trans_init() call
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index e5f9263b..a60b0633 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -348,7 +348,7 @@ int add_commit(pmtrans_t *trans, pmdb_t *db) if(tr == NULL) { RET_ERR(PM_ERR_TRANS_ABORT, -1); } - if(trans_init(tr, PM_TRANS_TYPE_UPGRADE, trans->flags, NULL) == -1) { + if(trans_init(tr, PM_TRANS_TYPE_UPGRADE, trans->flags, NULL, NULL) == -1) { FREETRANS(tr); RET_ERR(PM_ERR_TRANS_ABORT, -1); } |