summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index ef7dfe0b..a2c26883 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -238,7 +238,7 @@ pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq)
}
}
- pkg = pkg_new();
+ pkg = pkg_new(NULL, NULL);
if(pkg == NULL) {
return(NULL);
}