confile: config_utsname()

parent b8223439
......@@ -2162,6 +2162,9 @@ static int config_utsname(const char *key, const char *value,
{
struct utsname *utsname;
if (config_value_empty(value))
return 0;
utsname = malloc(sizeof(*utsname));
if (!utsname) {
SYSERROR("failed to allocate memory");
......
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