diff --git a/asminc/errno.inc b/asminc/errno.inc index 8f79d94e9..82d01cd3b 100644 --- a/asminc/errno.inc +++ b/asminc/errno.inc @@ -28,6 +28,7 @@ ENOSYS ; Function not implemented ESPIPE ; Illegal seek ERANGE ; Range error + EBADF ; Bad file number EUNKNOWN ; Unknown OS specific error - must be last! EMAX = EUNKNOWN ; Highest error code diff --git a/include/errno.h b/include/errno.h index 5dba2a1f7..c0e786623 100644 --- a/include/errno.h +++ b/include/errno.h @@ -74,7 +74,8 @@ extern int _errno; #define ENOSYS 13 /* Function not implemented */ #define ESPIPE 14 /* Illegal seek */ #define ERANGE 15 /* Range error */ -#define EUNKNOWN 16 /* Unknown OS specific error */ +#define EBADF 16 /* Bad file number */ +#define EUNKNOWN 17 /* Unknown OS specific error */