From: Rafal Wojdyla Date: Thu, 30 Jan 2014 14:13:45 +0000 (+0100) Subject: Fix error message if nodename is too long X-Git-Tag: lxc-1.0.0.beta4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e29c912e656add38783b5e3d5fbc2d1f135d20;p=thirdparty%2Flxc.git Fix error message if nodename is too long Signed-off-by: Rafal Wojdyla Acked-by: Stéphane Graber --- 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; }