Fix a log content

Signed-off-by: liqiang <liqiang64@huawei.com>
This commit is contained in:
liqiang 2022-11-28 09:57:27 +08:00 committed by Daniel P. Berrangé
parent 6c4f5af9a0
commit 8a5a4e6dbd

View File

@ -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, '/'))) {