From c0efbe3c3aafaad6842d8a28cd06635bbb5a566c Mon Sep 17 00:00:00 2001 From: liuhao Date: Thu, 25 Apr 2019 10:12:16 +0800 Subject: [PATCH 088/140] fix lxc build error cause by invalid print format Signed-off-by: liuhao Signed-off-by: LiFeng --- src/lxc/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index a1d77eb..14d5d80 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -4814,7 +4814,7 @@ static int run_oci_hooks(const char *name, const char *lxcpath, struct lxc_conf work_conf.ocihook = lc->ocihooks->poststart[i]; nret = run_ocihook_script_argv(name, "lxc", &work_conf, lxcpath, rootpath); if (nret != 0) - WARN("running poststart hook %d failed, ContainerId: %s", i, name); + WARN("running poststart hook %ld failed, ContainerId: %s", i, name); } break; case OCI_HOOK_POSTSTOP: -- 1.8.3.1