On 04/29/2013 09:50 AM, Michal Privoznik wrote: > --- > src/lxc/lxc_cgroup.c | 2 +- > src/lxc/lxc_conf.c | 18 +++++++++--------- > src/lxc/lxc_container.c | 8 ++++---- > src/lxc/lxc_controller.c | 6 +++--- > src/lxc/lxc_driver.c | 7 ++----- > src/lxc/lxc_process.c | 4 ++-- > 6 files changed, 21 insertions(+), 24 deletions(-) > > > @@ -161,17 +161,17 @@ int lxcLoadDriverConfig(virLXCDriverPtr driver) > driver->securityRequireConfined = false; > > /* Set the container configuration directory */ > - if ((driver->configDir = strdup(LXC_CONFIG_DIR)) == NULL) > + if (VIR_STRDUP(driver->configDir,LXC_CONFIG_DIR) < 0) Missing a space ^^^ > goto no_memory; -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list