migration: Fix format in error message
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 11 Mar 2024 12:34:39 +0000 (12:34 +0000)
committerPeter Xu <peterx@redhat.com>
Mon, 11 Mar 2024 18:41:41 +0000 (14:41 -0400)
commita1bb5dd169f4e47690a3b53c64692808472171a7
treefbdc059b229fcbe25ae0c0b206097d3c5f43b3de
parent47293c922cb4d70aae5b8100936ffc624d2a4076
migration: Fix format in error message

In file_write_ramblock_iov(), "offset" is "uintptr_t" and not
"ram_addr_t". While usually they are both equivalent, this is not the
case with CONFIG_XEN_BACKEND.

Use the right format. This will fix build on 32-bit.

Fixes: f427d90b9898 ("migration/multifd: Support outgoing mapped-ram stream format")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Link: https://lore.kernel.org/r/20240311123439.16844-1-anthony.perard@citrix.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/file.c