From 16e29c912e656add38783b5e3d5fbc2d1f135d20 Mon Sep 17 00:00:00 2001 From: Rafal Wojdyla Date: Thu, 30 Jan 2014 15:13:45 +0100 Subject: [PATCH] Fix error message if nodename is too long MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafal Wojdyla Acked-by: Stéphane Graber --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 03a42c5b3..ec8b07f33 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1593,7 +1593,7 @@ static int config_utsname(const char *key, const char *value, if (strlen(value) >= sizeof(utsname->nodename)) { ERROR("node name '%s' is too long", - utsname->nodename); + value); free(utsname); return -1; } -- 2.47.2