From 8a53d5a3d7c330659a97382fdb9a358ea9022357 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 10 Oct 2005 10:14:13 +0000 Subject: Fixed missing parameter in trans_init() call --- lib/libalpm/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3-70-g09d2