Commit 6c9d6a86 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

sockets.c: fix printf format warnings

sockets.c: In function ‘try_dump_socket’:
sockets.c:366:3: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__ino_t’
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent e70f8d23
......@@ -363,7 +363,7 @@ int try_dump_socket(pid_t pid, int fd, struct cr_fdset *cr_fdset)
sk = lookup_socket(st.st_ino);
if (!sk) {
pr_err("Uncollected socket %d\n", st.st_ino);
pr_err("Uncollected socket %ld\n", st.st_ino);
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