From e43ec608749a44a305afec89f46bcb282ab93d10 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 21 Feb 2011 15:31:39 +0000 Subject: state: use db in own struc when committing The db parameter to apk_state_commit is not needed so we remove it. --- src/fix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fix.c') 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: -- cgit v1.2.3-60-g2f50