mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
Fix a log content
Signed-off-by: liqiang <liqiang64@huawei.com>
This commit is contained in:
parent
6c4f5af9a0
commit
8a5a4e6dbd
@ -519,7 +519,7 @@ virCgroupSetValueRaw(const char *path,
|
|||||||
{
|
{
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
VIR_DEBUG("Set value '%s' to '%s'", path, value);
|
VIR_DEBUG("Set path '%s' to value '%s'", path, value);
|
||||||
if (virFileWriteStr(path, value, 0) < 0) {
|
if (virFileWriteStr(path, value, 0) < 0) {
|
||||||
if (errno == EINVAL &&
|
if (errno == EINVAL &&
|
||||||
(tmp = strrchr(path, '/'))) {
|
(tmp = strrchr(path, '/'))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user