diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c index c788f7e6..a6d5f430 100644 --- a/src/libostree/ostree-repo-commit.c +++ b/src/libostree/ostree-repo-commit.c @@ -1748,9 +1748,8 @@ ostree_repo_write_content_trusted (OstreeRepo *self, GCancellable *cancellable, GError **error) { - return write_object (self, OSTREE_OBJECT_TYPE_FILE, checksum, - object_input, length, NULL, - cancellable, error); + return ostree_repo_write_content (self, checksum, object_input, length, + NULL, cancellable, error); } /**