summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-static-delta-processing.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-10-27 16:14:02 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-10-30 22:52:02 +0000
commit7f8ff5756eb7a668b3513adec8a697f203f73cb9 (patch)
tree59858b9fb211145c4d3925488ead1c4f64258430 /src/libostree/ostree-repo-static-delta-processing.c
parent0d259ac401b4beeae4474d121fb474b6f8449c98 (diff)
downloadostree-7f8ff5756eb7a668b3513adec8a697f203f73cb9.tar.gz
lib: Minor static delta fixes
First, the manual crosscheck script bitrotted; it got caught up in the "use libtest repo creation wrapper" bit, and also it seems like at some point `pull --require-static-deltas` changed meaning when dealing with `file:///` repos. I have more work to unwind that. Next, I'm seeing a delta failure which looks like a static delta miscompilation with rollsums; change the compiler to print out the source object too, which helped me debug this. And finally in the processing code, fix incorrect error prefixing, which was misleading. Closes: #1311 Approved by: ashcrow
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-processing.c')
-rw-r--r--src/libostree/ostree-repo-static-delta-processing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-repo-static-delta-processing.c b/src/libostree/ostree-repo-static-delta-processing.c
index 87b5c8c9..4545b39f 100644
--- a/src/libostree/ostree-repo-static-delta-processing.c
+++ b/src/libostree/ostree-repo-static-delta-processing.c
@@ -711,7 +711,7 @@ dispatch_write (OstreeRepo *repo,
GCancellable *cancellable,
GError **error)
{
- GLNX_AUTO_PREFIX_ERROR("opcode open-splice-and-close", error);
+ GLNX_AUTO_PREFIX_ERROR("opcode write", error);
guint64 content_size;
guint64 content_offset;
@@ -816,7 +816,7 @@ dispatch_close (OstreeRepo *repo,
GCancellable *cancellable,
GError **error)
{
- GLNX_AUTO_PREFIX_ERROR("opcode open-splice-and-close", error);
+ GLNX_AUTO_PREFIX_ERROR("opcode close", error);
if (state->content_out)
{