lib/deltas: Fix change to use pread() in write opcode
authorColin Walters <walters@verbum.org>
Fri, 27 Oct 2017 20:57:10 +0000 (16:57 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 30 Oct 2017 19:03:16 +0000 (19:03 +0000)
commit0d259ac401b4beeae4474d121fb474b6f8449c98
treeaabfbdf53b55ade949df4c39a6f4a9d51b1271f1
parentde0e015908d50ffa64c50ef5aaf1e3e2df61e763
lib/deltas: Fix change to use pread() in write opcode

Fixes: 93457071cb5d47c08b60d3244f9632725634010a "lib/deltas: Use pread() instead of lseek()+read()"
Caught this when trying to test alex's patch locally. I am going to review our
static delta pulls and try to get something more comprehensive locally. But in
the meantime this patch is clearly right.

Closes: #1312
Approved by: jlebon
src/libostree/ostree-repo-static-delta-processing.c