diff options
Diffstat (limited to 'src/lxc/lxc_driver.c')
-rw-r--r-- | src/lxc/lxc_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index 204a3ed522..7c2e6cf561 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -1792,7 +1792,7 @@ static char *lxcDomainGetSchedulerType(virDomainPtr dom, if (!virDomainObjIsActive(vm)) { if (nparams) *nparams = 3; - ignore_value(VIR_STRDUP(ret, "posix")); + ret = g_strdup("posix"); goto cleanup; } @@ -1809,7 +1809,7 @@ static char *lxcDomainGetSchedulerType(virDomainPtr dom, *nparams = 1; } - ignore_value(VIR_STRDUP(ret, "posix")); + ret = g_strdup("posix"); cleanup: virDomainObjEndAPI(&vm); |