Skip to content

Commit

Permalink
revokefs: Use correct format string for a ssize_t
Browse files Browse the repository at this point in the history
This fixes the build on ILP32 architectures such as i386 with the Meson
build system. The Autotools build system accidentally didn't build
revokefs with -Werror=format, because it sets the target-specific CFLAGS
for revokefs but does not include the $(AM_CFLAGS) in them.

Fixes: aeecbb7 "revokefs: Split out the writing part from the fuse implementation"
Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv authored and alexlarsson committed Oct 25, 2022
1 parent e084a4f commit 959910f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revokefs/writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ do_writer (int basefd_arg,

if (response_data_size < 0 || response_data_size > MAX_DATA_SIZE)
{
g_printerr ("Invalid response size %ld", response_data_size);
g_printerr ("Invalid response size %zd", response_data_size);
exit (1);
}

Expand Down

0 comments on commit 959910f

Please sign in to comment.