Skip to content

Commit

Permalink
Merge pull request #2896 from akiernan/main
Browse files Browse the repository at this point in the history
lib/deploy: Use off_t not __off_t
  • Loading branch information
cgwalters committed Jun 21, 2023
2 parents 24dd9bb + e0342d2 commit 363a1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libostree/ostree-sysroot-deploy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 363a1f1

Please sign in to comment.