parasite: fix format string typo

The pie sprintf implementation doesn't know about `z', so let's just use
%lu instead.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Tycho Andersen 2016-02-18 19:08:00 +03:00 committed by Pavel Emelyanov
parent e55219562e
commit 0e5f234752

View file

@ -511,7 +511,7 @@ static int __parasite_daemon_reply_ack(unsigned int cmd, int err)
m = ctl_msg_ack(cmd, err);
ret = sys_sendto(tsock, &m, sizeof(m), 0, NULL, 0);
if (ret != sizeof(m)) {
pr_err("Sent only %d bytes while %zd expected\n", ret, sizeof(m));
pr_err("Sent only %d bytes while %lu expected\n", ret, sizeof(m));
return -1;
}