From 522a7231efdb304cd84443b1211cddfd0b8c80b3 Mon Sep 17 00:00:00 2001 From: TanYifeng Date: Sat, 21 Sep 2019 06:19:25 -0400 Subject: [PATCH 121/139] optimize log when root path is invalid Signed-off-by: TanYifeng --- 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 0b10a2d..5fd65e7 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -4881,7 +4881,7 @@ static char *get_root_path(const char *path, const char *backend) strcmp(backend, "loop") == 0) { tmp = strrchr(path, ':'); if (tmp == NULL) { - ERROR("Out of memory"); + ERROR("Invalid root path format"); return NULL; } tmp++; -- 1.8.3.1