From: Ian Jackson Date: Tue, 23 Jun 2015 18:24:53 +0000 (+0100) Subject: test_domain_suspend: Avoid accidentally calling libxl_destroy on 0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=23df0f67cf8f7cb54f3f98173fdd975271dcfacb;p=people%2Fiwj%2Fring3-xl-test.git test_domain_suspend: Avoid accidentally calling libxl_destroy on 0 Signed-off-by: Ian Jackson --- diff --git a/test_domain_suspend.c b/test_domain_suspend.c index 344c4f3..6a3175d 100644 --- a/test_domain_suspend.c +++ b/test_domain_suspend.c @@ -26,7 +26,7 @@ void *testcase(struct test *tc) int count; libxl_domain_config dc; - uint32_t domid; + uint32_t domid = -2; struct event ev; init_domain_config(&dc, "test_domain_suspend",