sem_wait(): Missing comma on debug statement caused compile error with DEBUG on. Why hasn't that been noted before?

This commit is contained in:
Gregory Nutt 2015-04-23 07:15:55 -06:00
parent f38ff433b3
commit 093a144934
2 changed files with 4 additions and 1 deletions

View File

@ -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).

View File

@ -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. */