diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-09-05 03:06:27 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-09-05 03:06:27 +0000 |
commit | 5fa20654190f944a2de98b5be63bb85423ae44b2 (patch) | |
tree | 4ce1cd646a1fe0526eef8e5a64b838b5d5396d85 /sys | |
parent | cccbd286e927a6a92e8f7231e57ddd17a243314f (diff) |
Add additional errno values required by POSIX.
ok jca@ kettenis@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.h | 3 | ||||
-rw-r--r-- | sys/sys/errno.h | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h index 6a93cc30e86..2971a7d0923 100644 --- a/sys/dev/pci/drm/drm_linux.h +++ b/sys/dev/pci/drm/drm_linux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.h,v 1.62 2017/08/14 01:35:04 jsg Exp $ */ +/* $OpenBSD: drm_linux.h,v 1.63 2017/09/05 03:06:26 jsg Exp $ */ /* * Copyright (c) 2013, 2014, 2015 Mark Kettenis * @@ -279,7 +279,6 @@ struct module; #define ERESTARTSYS EINTR #define ETIME ETIMEDOUT #define EREMOTEIO EIO -#define EPROTO EIO #define ENOTSUPP ENOTSUP #define ENODATA ENOTSUP #define ECHRNG EINVAL diff --git a/sys/sys/errno.h b/sys/sys/errno.h index b83ef61d02e..cf86be73934 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -1,4 +1,4 @@ -/* $OpenBSD: errno.h,v 1.24 2015/10/24 10:42:02 bluhm Exp $ */ +/* $OpenBSD: errno.h,v 1.25 2017/09/05 03:06:26 jsg Exp $ */ /* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */ /* @@ -167,8 +167,12 @@ #define EIDRM 89 /* Identifier removed */ #define ENOMSG 90 /* No message of desired type */ #define ENOTSUP 91 /* Not supported */ +#define EBADMSG 92 /* Bad message */ +#define ENOTRECOVERABLE 93 /* State not recoverable */ +#define EOWNERDEAD 94 /* Previous owner died */ +#define EPROTO 95 /* Protocol error */ #if __BSD_VISIBLE -#define ELAST 91 /* Must be equal largest errno */ +#define ELAST 95 /* Must be equal largest errno */ #endif /* __BSD_VISIBLE */ #ifdef _KERNEL |