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:
patacongo 2011-04-02 15:59:42 +00:00
parent 1dd25651bb
commit 85ab366008

View file

@ -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