mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 07:50:06 +00:00
cgfsng: __cg_unified_setup_limits()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
c347df5846
commit
b2ac2cb755
@ -2793,7 +2793,8 @@ static bool __cg_unified_setup_limits(void *hdata,
|
|||||||
ret = lxc_write_to_file(fullpath, cg->value, strlen(cg->value), false);
|
ret = lxc_write_to_file(fullpath, cg->value, strlen(cg->value), false);
|
||||||
free(fullpath);
|
free(fullpath);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
SYSERROR("Failed to set \"%s\" to \"%s\"", cg->subsystem, cg->value);
|
SYSERROR("Failed to set \"%s\" to \"%s\"",
|
||||||
|
cg->subsystem, cg->value);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
TRACE("Set \"%s\" to \"%s\"", cg->subsystem, cg->value);
|
TRACE("Set \"%s\" to \"%s\"", cg->subsystem, cg->value);
|
||||||
|
Loading…
Reference in New Issue
Block a user