diff options
Diffstat (limited to 'cpukit/posix/src/condtimedwait.c')
-rw-r--r-- | cpukit/posix/src/condtimedwait.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/posix/src/condtimedwait.c b/cpukit/posix/src/condtimedwait.c index 6c0b14f27b..1b338c8ae6 100644 --- a/cpukit/posix/src/condtimedwait.c +++ b/cpukit/posix/src/condtimedwait.c @@ -31,6 +31,9 @@ int pthread_cond_timedwait( const struct timespec *abstime ) { + if ( abstime == NULL ) { + return EINVAL; /* not specified */ + } return _POSIX_Condition_variables_Wait_support( cond, mutex, |