From 093a144934937dd1157145f4c7c0a5df3ad84889 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 23 Apr 2015 07:15:55 -0600 Subject: [PATCH] sem_wait(): Missing comma on debug statement caused compile error with DEBUG on. Why hasn't that been noted before? --- ChangeLog | 3 +++ sched/semaphore/sem_wait.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5604f7f2b6..fd43d788b0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10254,4 +10254,7 @@ (2015-04-21). * include/assert.h: Wrap definitions of assertion macros in do while. Suggested by orbitalfox (2015-04-22). + * sched/semaphore/sem_wait.c: Missing comma on debug statement caused + compile error with DEBUG on. Why hasn't that been noted before? + (2015-04-23). diff --git a/sched/semaphore/sem_wait.c b/sched/semaphore/sem_wait.c index 6756599fa5..f4e267f6aa 100644 --- a/sched/semaphore/sem_wait.c +++ b/sched/semaphore/sem_wait.c @@ -102,7 +102,7 @@ int sem_wait(FAR sem_t *sem) /* This API should not be called from interrupt handlers */ - DEBUGASSERT(up_interrupt_context() == false) + DEBUGASSERT(up_interrupt_context() == false); /* Assume any errors reported are due to invalid arguments. */