[lxc-devel] [PATCH 4/6] coverity: clonetest: check correct container is cloned
Dwight Engen
dwight.engen at oracle.com
Tue May 7 14:57:26 UTC 2013
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
src/tests/clonetest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/clonetest.c b/src/tests/clonetest.c
index fcb5ea6..5644405 100644
--- a/src/tests/clonetest.c
+++ b/src/tests/clonetest.c
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
goto out;
}
- if (!c2->is_defined(c)) {
+ if (!c2->is_defined(c2)) {
fprintf(stderr, "%d: %s not defined after clone\n", __LINE__, MYNAME2);
goto out;
}
--
1.8.1.4
More information about the lxc-devel
mailing list