Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
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);