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 /lib/libc/gen | |
parent | cccbd286e927a6a92e8f7231e57ddd17a243314f (diff) |
Add additional errno values required by POSIX.
ok jca@ kettenis@ deraadt@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/errlist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c index c7afd9c26b4..f5480a6af1b 100644 --- a/lib/libc/gen/errlist.c +++ b/lib/libc/gen/errlist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errlist.c,v 1.18 2015/10/24 10:42:02 bluhm Exp $ */ +/* $OpenBSD: errlist.c,v 1.19 2017/09/05 03:06:26 jsg Exp $ */ /* * Copyright (c) 1982, 1985, 1993 * The Regents of the University of California. All rights reserved. @@ -142,6 +142,10 @@ const char *const sys_errlist[] = { "Identifier removed", /* 89 - EIDRM */ "No message of desired type", /* 90 - ENOMSG */ "Not supported", /* 91 - ENOTSUP */ + "Bad message", /* 92 - EBADMSG */ + "State not recoverable", /* 93 - ENOTRECOVERABLE */ + "Previous owner died", /* 94 - EOWNERDEAD */ + "Protocol error", /* 95 - EPROTO */ }; const int sys_nerr = { sizeof sys_errlist/sizeof sys_errlist[0] }; #if 0 |