Fix error in set_errno macro
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3455 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1dd25651bb
commit
85ab366008
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
|
||||
#define errno *get_errno_ptr()
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
# define set_errno(e) do { errno = (int)(a); } while (0)
|
||||
# define set_errno(e) do { errno = (int)(e); } while (0)
|
||||
# define get_errno(e) errno
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue