From 8b526c3cb785dad0ad5f3ea90dc1b69e9c81f4a0 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 24 Feb 2022 20:52:05 +0100 Subject: [PATCH] Address review comment --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c index b9f5147457..938b9f2584 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c @@ -1944,7 +1944,7 @@ void create_nr_list(NR_list_t *list, int len) list->head = -1; list->next = malloc(len * sizeof(*list->next)); LOG_W(NR_MAC, "NR list->next %p\n", list->next); - AssertFatal(list->next, "cannot calloc() memory for NR_list_t->next\n"); + AssertFatal(list->next, "cannot malloc() memory for NR_list_t->next\n"); for (int i = 0; i < len; ++i) list->next[i] = -1; list->tail = -1;