Commit 16e29c91 by Rafal Wojdyla Committed by Stéphane Graber

Fix error message if nodename is too long

parent b4c66de1
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment