mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
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:
parent
e55219562e
commit
0e5f234752
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue