syscalls/sendfile06: Fix format string
PATCH 1/1 syscalls/sendfile06: Fix format string
There cannot be any characters between "%" and PRId64 since these two when concatenated produce the format string for the 64bit integer that follows.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/sendfile/sendfile06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/sendfile/sendfile06.c +1 -1
@@ -54,7 +54,7 @@ static void run(void) sb.st_size, TST_RET); else if (after_pos != sb.st_size) tst_res(TFAIL, "sendfile() updated the file position of in_fd unexpectedly," -" expected file position: %," PRId64 +" expected file position: %" PRId64" actual file position %" PRId64, (int64_t)(sb.st_size), (int64_t)(after_pos)); else
Signature · 1 line
2.31.1