summaryrefslogtreecommitdiff
path: root/src/fix.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-02-21 15:31:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-30 12:53:02 +0000
commite43ec608749a44a305afec89f46bcb282ab93d10 (patch)
treef9677a1e6347a0aa98a8ff83911f3d57667e1dfc /src/fix.c
parent0f6475b88466b6e4cd424f9807fa14eab0fafe96 (diff)
downloadapk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.gz
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.bz2
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.xz
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.zip
state: use db in own struc when committing
The db parameter to apk_state_commit is not needed so we remove it.
Diffstat (limited to 'src/fix.c')
-rw-r--r--src/fix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fix.c b/src/fix.c
index 1bacce2..48cab9c 100644
--- a/src/fix.c
+++ b/src/fix.c
@@ -89,7 +89,7 @@ static int fix_main(void *pctx, struct apk_database *db, int argc, char **argv)
r |= apk_state_lock_dependency(state, &deps[i]);
if (r == 0 || (apk_flags & APK_FORCE))
- r = apk_state_commit(state, db);
+ r = apk_state_commit(state);
else
apk_state_print_errors(state);
err: