diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-02 15:59:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-02 15:59:42 +0000 |
commit | c3e496ad6e836db85c8c8fa7118aa9ed8b99ded3 (patch) | |
tree | e0dd64ace7312188c40f2f8a780af36506e3bb7f /nuttx | |
parent | 68551d0cf274eacbf5c6de959e7bf812a6ee7eba (diff) | |
download | px4-nuttx-c3e496ad6e836db85c8c8fa7118aa9ed8b99ded3.tar.gz px4-nuttx-c3e496ad6e836db85c8c8fa7118aa9ed8b99ded3.tar.bz2 px4-nuttx-c3e496ad6e836db85c8c8fa7118aa9ed8b99ded3.zip |
Fix error in set_errno macro
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3455 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/errno.h b/nuttx/include/errno.h index 1316b56fc..09c9690b6 100644 --- a/nuttx/include/errno.h +++ b/nuttx/include/errno.h @@ -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 |