[lxc-devel] [lxc/lxc] 9b945f: c/r: use PRIu64 format specifier
GitHub
noreply at github.com
Fri Jul 22 15:10:22 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 9b945f132023a099733f9cc51982677c8de7ecdc
https://github.com/lxc/lxc/commit/9b945f132023a099733f9cc51982677c8de7ecdc
Author: Christian Brauner <cbrauner at suse.de>
Date: 2016-07-22 (Fri, 22 Jul 2016)
Changed paths:
M src/lxc/criu.c
Log Message:
-----------
c/r: use PRIu64 format specifier
Fixes build failures on arm:
criu.c: In function ‘exec_criu’:
criu.c:310:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=]
ret = sprintf(ghost_limit, "%lu", opts->user->ghost_limit);
^
In file included from criu.c:42:0:
log.h:285:9: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=]
struct lxc_log_locinfo locinfo = LXC_LOG_LOCINFO_INIT; \
^
criu.c:312:5: note: in expansion of macro ‘ERROR’
ERROR("failed to print ghost limit %lu", opts->user->ghost_limit);
^
Signed-off-by: Christian Brauner <cbrauner at suse.de>
Commit: bdf278a139ff462249cc745c28acd925f8aebe5e
https://github.com/lxc/lxc/commit/bdf278a139ff462249cc745c28acd925f8aebe5e
Author: Stéphane Graber <stgraber at stgraber.org>
Date: 2016-07-22 (Fri, 22 Jul 2016)
Changed paths:
M src/lxc/criu.c
Log Message:
-----------
Merge pull request #1093 from brauner/2016-07-22/use_priu64
c/r: use PRIu64 format specifier
Compare: https://github.com/lxc/lxc/compare/3be6e5ff7c4e...bdf278a139ff
More information about the lxc-devel
mailing list