diff options
Diffstat (limited to 'nuttx/include/errno.h')
-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 |