mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
page-xfer: fixed format strings
Use the specifier %lu instead of %zu to print an unsinged long integer. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
4d4543f66e
commit
dfaa4542c4
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ static int write_pagemap_to_server(struct page_xfer *xfer,
|
|||
static int write_pages_to_server(struct page_xfer *xfer,
|
||||
int p, unsigned long len)
|
||||
{
|
||||
pr_debug("Splicing %zu bytes / %zu pages into socket\n", len, len / PAGE_SIZE);
|
||||
pr_debug("Splicing %lu bytes / %lu pages into socket\n", len, len / PAGE_SIZE);
|
||||
|
||||
if (splice(p, NULL, xfer->fd, NULL, len, SPLICE_F_MOVE) != len) {
|
||||
pr_perror("Can't write pages to socket");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue