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:
parent
f38ff433b3
commit
093a144934
@ -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).
|
||||
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user