From df76cbe68701366f8db2f2f362a8d757886115d1 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 9 May 2023 00:31:00 +0300 Subject: libfshelp-tests: Port to x86_64 Message-Id: <20230508213136.608575-6-bugaevc@gmail.com> --- libfshelp-tests/test-fcntl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libfshelp-tests/test-fcntl.c') diff --git a/libfshelp-tests/test-fcntl.c b/libfshelp-tests/test-fcntl.c index f8c20804..1013ef30 100644 --- a/libfshelp-tests/test-fcntl.c +++ b/libfshelp-tests/test-fcntl.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -232,7 +233,7 @@ int main (int argc, char **argv) printf ("cmd = %s\n ", cmdc); printf("lock = {l_type, l_whence, l_start, l_len, l_pid} =\n"); #ifdef __GNU__ - printf (" {%s, %s, %lld, %lld, %d}\n", + printf (" {%s, %s, %" PRIi64 ", %" PRIi64 ", %d}\n", #else printf (" {%s, %s, %ld, %ld, %d}\n", #endif -- cgit v1.2.3