Commit 3ca29f70 authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

sk-packet.c: fixed a format string warning on ARM

Use a PRI* format specifier to convert an integer of known size
to a string.

Cc: Andrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0b654822
...@@ -153,7 +153,7 @@ static int dump_one_packet_fd(int lfd, u32 id, const struct fd_parms *p) ...@@ -153,7 +153,7 @@ static int dump_one_packet_fd(int lfd, u32 id, const struct fd_parms *p)
sd = (struct packet_sock_desc *)lookup_socket(p->stat.st_ino, PF_PACKET, 0); sd = (struct packet_sock_desc *)lookup_socket(p->stat.st_ino, PF_PACKET, 0);
if (IS_ERR_OR_NULL(sd)) { if (IS_ERR_OR_NULL(sd)) {
pr_err("Can't find packet socket %lu\n", p->stat.st_ino); pr_err("Can't find packet socket %"PRIu64"\n", p->stat.st_ino);
return -1; 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