aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/mconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 14cea7463a62..4dd37552abc2 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -330,10 +330,10 @@ static void set_subtitle(void)
330 list_for_each_entry(sp, &trail, entries) { 330 list_for_each_entry(sp, &trail, entries) {
331 if (sp->text) { 331 if (sp->text) {
332 if (pos) { 332 if (pos) {
333 pos->next = xcalloc(sizeof(*pos), 1); 333 pos->next = xcalloc(1, sizeof(*pos));
334 pos = pos->next; 334 pos = pos->next;
335 } else { 335 } else {
336 subtitles = pos = xcalloc(sizeof(*pos), 1); 336 subtitles = pos = xcalloc(1, sizeof(*pos));
337 } 337 }
338 pos->text = sp->text; 338 pos->text = sp->text;
339 } 339 }