Commit e70f8d23 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

cr-show.c: fix printf format warnings

cr-show.c: In function ‘show_pipes’:
cr-show.c:119:3: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 2 has type ‘u32’
cr-show.c:119:3: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 3 has type ‘u32’
cr-show.c:119:3: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 4 has type ‘u32’
cr-show.c:119:3: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 5 has type ‘u32’
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent a207bee1
...@@ -117,7 +117,7 @@ static void show_pipes(int fd_pipes) ...@@ -117,7 +117,7 @@ static void show_pipes(int fd_pipes)
ret = read_img_eof(fd_pipes, &e); ret = read_img_eof(fd_pipes, &e);
if (ret <= 0) if (ret <= 0)
goto out; goto out;
pr_info("fd: %8lx pipeid: %8lx flags: %8lx bytes: %8lx\n", pr_info("fd: %8x pipeid: %8x flags: %8x bytes: %8x\n",
e.fd, e.pipeid, e.flags, e.bytes); e.fd, e.pipeid, e.flags, e.bytes);
if (e.bytes) if (e.bytes)
lseek(fd_pipes, e.bytes, SEEK_CUR); lseek(fd_pipes, e.bytes, SEEK_CUR);
......
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