Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
Reported-by: Andrew Cooper <andrew.coop...@citrix.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
---
 tools/libxl/test_fdderegrace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxl/test_fdderegrace.c b/tools/libxl/test_fdderegrace.c
index b644d7a..f57965f 100644
--- a/tools/libxl/test_fdderegrace.c
+++ b/tools/libxl/test_fdderegrace.c
@@ -25,7 +25,7 @@ int main(int argc, char **argv) {
     rc = libxl_event_check(ctx, &event, LIBXL_EVENTMASK_ALL, 0,0);
     assert(!rc);
     assert(event);
-    assert(event->for_user = how.u.for_event);
+    assert(event->for_user == how.u.for_event);
     assert(event->type == LIBXL_EVENT_TYPE_OPERATION_COMPLETE);
     assert(event->u.operation_complete.rc == ERROR_ABORTED);
 
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to