From 60bf4a4d8acee3cc8b90f932beb01410c539b2e1 Mon Sep 17 00:00:00 2001 From: "Nakamura, Yuuichi" Date: Mon, 2 Nov 2020 08:49:43 +0900 Subject: [PATCH] Fix build break when CONFIG_TASK_NAME_SIZE == 0 --- sched/sched/sched_note.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/sched/sched_note.c b/sched/sched/sched_note.c index 7da2866543..0b9146cace 100644 --- a/sched/sched/sched_note.c +++ b/sched/sched/sched_note.c @@ -406,7 +406,7 @@ void sched_note_start(FAR struct tcb_s *tcb) length = SIZEOF_NOTE_START(namelen + 1); #else - length = SIZEOF_NOTE_START(0) + length = SIZEOF_NOTE_START(0); #endif /* Finish formatting the note */