diff options
Diffstat (limited to 'cpukit/posix/src/sigsuspend.c')
-rw-r--r-- | cpukit/posix/src/sigsuspend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/sigsuspend.c b/cpukit/posix/src/sigsuspend.c index 606e8556f5..77b6d90a29 100644 --- a/cpukit/posix/src/sigsuspend.c +++ b/cpukit/posix/src/sigsuspend.c @@ -51,7 +51,9 @@ int sigsuspend( * sigtimedwait() returns the signal number while sigsuspend() * is supposed to return -1 and EINTR when a signal is caught. */ - assert ( status != -1 ); + #if defined(RTEMS_DEBUG) + assert( status != -1 ); + #endif rtems_set_errno_and_return_minus_one( EINTR ); } |