diff options
Diffstat (limited to 'cpukit/posix/src/timercreate.c')
-rw-r--r-- | cpukit/posix/src/timercreate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/timercreate.c b/cpukit/posix/src/timercreate.c index da4fe3641c..1d843580ba 100644 --- a/cpukit/posix/src/timercreate.c +++ b/cpukit/posix/src/timercreate.c @@ -36,10 +36,10 @@ int timer_create( if ( clock_id != CLOCK_REALTIME ) rtems_set_errno_and_return_minus_one( EINVAL ); - + if ( !timerid ) rtems_set_errno_and_return_minus_one( EINVAL ); - + /* * The data of the structure evp are checked in order to verify if they * are coherent. |