[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxl: event tests: Fix `=' vs `==' in fdderegrace



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.