summaryrefslogtreecommitdiff
path: root/src/app_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_index.c')
-rw-r--r--src/app_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_index.c b/src/app_index.c
index 18c240f..25ca3b4 100644
--- a/src/app_index.c
+++ b/src/app_index.c
@@ -199,7 +199,7 @@ static int index_main(void *ctx, struct apk_database *db, struct apk_string_arra
return -1;
if (ictx->output != NULL)
- os = apk_ostream_to_file(AT_FDCWD, ictx->output, NULL, 0644);
+ os = apk_ostream_to_file(AT_FDCWD, ictx->output, 0644);
else
os = apk_ostream_to_fd(STDOUT_FILENO);
if (IS_ERR_OR_NULL(os)) return -1;