30 lines
964 B
Diff
30 lines
964 B
Diff
From 845d28355b85578a0ebc0d8aff3bb405d63ff8a3 Mon Sep 17 00:00:00 2001
|
|
From: liuhao <liuhao27@huawei.com>
|
|
Date: Thu, 25 Apr 2019 10:12:16 +0800
|
|
Subject: [PATCH 088/131] fix lxc build error
|
|
|
|
cause by invalid print format
|
|
|
|
Signed-off-by: liuhao <liuhao27@huawei.com>
|
|
Signed-off-by: LiFeng <lifeng68@huawei.com>
|
|
---
|
|
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 a1d77ebc..14d5d807 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:
|
|
--
|
|
2.23.0
|
|
|