[CRIU] [PATCH] autofs: fix device id printf modifier on error path in autofs_mnt_open
Pavel Emelyanov
xemul at virtuozzo.com
Wed Mar 23 09:33:23 PDT 2016
On 03/23/2016 06:20 PM, Pavel Emelyanov wrote:
> Applied
Still doesn't help
https://travis-ci.org/xemul/criu/jobs/117998416
In file included from /criu/criu/include/log.h:6:0,
from /criu/criu/include/bug.h:8,
from /criu/criu/include/image.h:12,
from /criu/criu/include/proc_parse.h:6,
from autofs.c:6:
autofs.c: In function 'autofs_mnt_open':
/criu/criu/include/criu-log.h:63:10: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'dev_t {aka long long unsigned int}' [-Werror=format=]
"Error (%s:%d): " LOG_PREFIX fmt, \
^
autofs.c:507:3: note: in expansion of macro 'pr_err'
pr_err("Failed to get %s fd (devid: %lu)\n", mnt_path, devid);
^
More information about the CRIU
mailing list