Commit 0e5f2347 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

parasite: fix format string typo

The pie sprintf implementation doesn't know about `z', so let's just use
%lu instead.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent e5521956
......@@ -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;
}
......
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