diff options
Diffstat (limited to 'src/app_audit.c')
-rw-r--r-- | src/app_audit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app_audit.c b/src/app_audit.c index acfca13..2d4925d 100644 --- a/src/app_audit.c +++ b/src/app_audit.c @@ -307,9 +307,10 @@ static int audit_missing_files(apk_hash_item item, void *pctx) return 0; } -static int audit_main(void *ctx, struct apk_database *db, struct apk_string_array *args) +static int audit_main(void *ctx, struct apk_ctx *ac, struct apk_string_array *args) { - struct apk_out *out = &db->ctx->out; + struct apk_out *out = &ac->out; + struct apk_database *db = ac->db; struct audit_tree_ctx atctx; struct audit_ctx *actx = (struct audit_ctx *) ctx; char **parg, *arg; |