Commit dfaa4542 authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

page-xfer: fixed format strings

Use the specifier %lu instead of %zu to print
an unsinged long integer.
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4d4543f6
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment