From: Alex Kiernan Date: Tue, 20 Jun 2023 18:24:04 +0000 (+0100) Subject: lib/deploy: Use off_t not __off_t X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~1^2~10^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0342d2da10db5f232a7bd162cf72b5c1dcfd6e2;p=ostree.git lib/deploy: Use off_t not __off_t Not clear why this was __off_t which is the sole appearance in the code base, but it breaks musl builds. Signed-off-by: Alex Kiernan --- diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 8fcd5e80..2454a587 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -2536,7 +2536,7 @@ get_kernel_layout_size (OstreeSysroot *self, OstreeDeployment *deployment, guint /* This is a roundabout but more trustworthy way of doing a space check than * relying on statvfs's f_bfree when you know the size of the objects. */ static gboolean -dfd_fallocate_check (int dfd, __off_t len, gboolean *out_passed, GError **error) +dfd_fallocate_check (int dfd, off_t len, gboolean *out_passed, GError **error) { /* If the requested size is 0 then return early. Passing a 0 len to * fallocate results in EINVAL */