summaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/info.c b/src/info.c
index 262049f..a1bc609 100644
--- a/src/info.c
+++ b/src/info.c
@@ -140,8 +140,8 @@ static void info_who_owns(struct info_ctx *ctx, struct apk_database *db,
os = apk_ostream_to_fd(STDOUT_FILENO);
if (!IS_ERR_OR_NULL(os)) {
apk_deps_write(db, deps, os, APK_BLOB_PTR_LEN(" ", 1));
- os->write(os, "\n", 1);
- os->close(os);
+ apk_ostream_write(os, "\n", 1);
+ apk_ostream_close(os);
}
}
apk_dependency_array_free(&deps);