Skip to content

Commit

Permalink
Merge pull request #16565 from fjmolinas/pr_avr_libc_errno
Browse files Browse the repository at this point in the history
cpu/avr8_common: fix errno
  • Loading branch information
fjmolinas committed Jun 17, 2021
2 parents a20790b + ca4ca1f commit 2765e54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpu/avr8_common/avr_libc_extra/include/errno.h
Expand Up @@ -84,7 +84,7 @@ extern int errno;
#define ECONNRESET (15) /**< Connection reset. */
#define EDEADLK (16) /**< Resource deadlock would occur. */
#define EDESTADDRREQ (17) /**< Destination address required. */
#define EDOM (18) /**< Mathematics argument out of domain of function. */
#define EMFILE (18) /**< File descriptor value too large. */
#define EDQUOT (19) /**< Reserved. */
#define EEXIST (20) /**< File exists. */
#define EFAULT (21) /**< Bad address. */
Expand All @@ -99,8 +99,8 @@ extern int errno;
#define EISCONN (30) /**< Socket is connected. */
#define EISDIR (31) /**< Is a directory. */
#define ELOOP (32) /**< Too many levels of symbolic links. */
#define EMFILE (33) /**< File descriptor value too large. */
#define EMLINK (34) /**< Too many links. */
#define EDOM (33) /**< Mathematics argument out of domain of function. */
#define ERANGE (34) /**< Result too large. */
#define EMSGSIZE (35) /**< Message too large. */
#define EMULTIHOP (36) /**< Reserved. */
#define ENAMETOOLONG (37) /**< Filename too long. */
Expand Down Expand Up @@ -138,7 +138,7 @@ extern int errno;
#define EPROTO (69) /**< Protocol error. */
#define EPROTONOSUPPORT (70) /**< Protocol not supported. */
#define EPROTOTYPE (71) /**< Protocol wrong type for socket. */
#define ERANGE (72) /**< Result too large. */
#define EMLINK (72) /**< Too many links. */
#define EROFS (73) /**< Read-only file system. */
#define ESPIPE (74) /**< Invalid seek. */
#define ESRCH (75) /**< No such process. */
Expand Down

0 comments on commit 2765e54

Please sign in to comment.