smpmulticast01: Fix NULL pointer access

This commit is contained in:
Sebastian Huber
2020-11-10 13:04:55 +01:00
parent 4c2d5f271b
commit dfe6b84d03

View File

@@ -295,7 +295,7 @@ static void test_broadcast_body(
clear_ids_by_worker(ctx, worker_index);
cpu_self = _Thread_Dispatch_disable();
_SMP_Multicast_action(NULL, action, &ctx->id[worker_index][0]);
_SMP_Broadcast_action(action, &ctx->id[worker_index][0]);
_Thread_Dispatch_enable(cpu_self);
}
}