From c95cf86f39ca327688781718ddc371b00f232c03 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Tue, 13 Nov 2012 17:50:35 -0600 Subject: [PATCH] Revert "Fix check against LXCROOTFSMOUNT to use strcmp" This reverts commit 5bf2c5ce9ba2539efbf81928ef6ccb96d959bcf8. --- src/lxc/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 96f2cf792..f3c2334bf 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -2576,7 +2576,7 @@ void lxc_conf_free(struct lxc_conf *conf) return; if (conf->console.path) free(conf->console.path); - if (strcmp(conf->rootfs.mount, LXCROOTFSMOUNT) != 0) + if (conf->rootfs.mount != LXCROOTFSMOUNT) free(conf->rootfs.mount); lxc_clear_config_network(conf); #if HAVE_APPARMOR -- 2.39.5