diff options
Diffstat (limited to 'nuttx/sched/sem_destroy.c')
-rw-r--r-- | nuttx/sched/sem_destroy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/sched/sem_destroy.c b/nuttx/sched/sem_destroy.c index 95db46468..90a2b95ef 100644 --- a/nuttx/sched/sem_destroy.c +++ b/nuttx/sched/sem_destroy.c @@ -2,7 +2,7 @@ * lib/semaphore/sem_destroy.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -69,7 +69,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_destroy + * Name: sem_destroy * * Description: * This function is used to destroy the un-named semaphore indicated by @@ -120,7 +120,7 @@ int sem_destroy (FAR sem_t *sem) } else { - errno = -EINVAL; - return ERROR; + errno = -EINVAL; + return ERROR; } } |