1.1 --- a/tests/dstest_file_remove.cc Fri Oct 28 01:32:32 2022 +0200
1.2 +++ b/tests/dstest_file_remove.cc Sat Oct 29 01:19:48 2022 +0200
1.3 @@ -28,6 +28,9 @@
1.4
1.5 #include <fsclient/client.h>
1.6 #include <systypes/fcntl.h>
1.7 +#include <systypes/format.h>
1.8 +
1.9 +#define FMToffsetd "%" pFMToffset "d"
1.10
1.11
1.12
1.13 @@ -42,7 +45,7 @@
1.14
1.15 nread = client_read(file, buf, 20);
1.16
1.17 - printf("Read %lld bytes...\n", nread);
1.18 + printf("Read " FMToffsetd " bytes...\n", nread);
1.19 fwrite(buf, sizeof(char), nread, stdout);
1.20 fputs("\n", stdout);
1.21 }
1.22 @@ -57,7 +60,7 @@
1.23
1.24 nwritten = client_write(file, buf, strlen(buf));
1.25
1.26 - printf("Wrote %lld bytes: ", nwritten);
1.27 + printf("Wrote " FMToffsetd " bytes: ", nwritten);
1.28 fwrite(buf, sizeof(char), nwritten, stdout);
1.29 fputs("\n", stdout);
1.30 }