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:
Alexander Kartashov 2013-04-30 06:05:28 +00:00 committed by Pavel Emelyanov
parent 4d4543f66e
commit dfaa4542c4

View file

@ -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");