diff options
author | 2009-10-26 21:09:33 +0000 | |
---|---|---|
committer | 2009-10-26 21:09:33 +0000 | |
commit | ec32666053187384e10cef116fe6acd8f7923928 (patch) | |
tree | 15f81572f2251908d6101b598391059b2fd1e19d | |
parent | Add man pages for the fdim/fmin/fmax family of functions and make sure fdiml (diff) | |
download | wireguard-openbsd-ec32666053187384e10cef116fe6acd8f7923928.tar.xz wireguard-openbsd-ec32666053187384e10cef116fe6acd8f7923928.zip |
add ENOTSUP and bump libc minor
discussed with a few
ok deraadt@
-rw-r--r-- | lib/libc/gen/errlist.c | 3 | ||||
-rw-r--r-- | lib/libc/shlib_version | 2 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 6 | ||||
-rw-r--r-- | sys/sys/errno.h | 5 |
4 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c index 43b86d96c96..0c14fb1ed58 100644 --- a/lib/libc/gen/errlist.c +++ b/lib/libc/gen/errlist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errlist.c,v 1.12 2007/09/03 14:37:52 millert Exp $ */ +/* $OpenBSD: errlist.c,v 1.13 2009/10/26 21:09:33 jasper Exp $ */ /* * Copyright (c) 1982, 1985, 1993 * The Regents of the University of California. All rights reserved. @@ -144,5 +144,6 @@ const char *const "Operation canceled", /* 88 - ECANCELED */ "Identifier removed", /* 89 - EIDRM */ "No message of desired type", /* 90 - ENOMSG */ + "Operation not supported", /* 91 - ENOTSUP */ }; int _sys_nerr = { sizeof _sys_errlist/sizeof _sys_errlist[0] }; diff --git a/lib/libc/shlib_version b/lib/libc/shlib_version index 49b799172ec..98302858c65 100644 --- a/lib/libc/shlib_version +++ b/lib/libc/shlib_version @@ -1,4 +1,4 @@ major=51 -minor=1 +minor=2 # note: If changes were made to include/thread_private.h or if system # calls were added/changed then libpthread must also be updated. diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index c10cc442223..8b592c99479 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.43 2007/11/05 08:21:58 jmc Exp $ +.\" $OpenBSD: intro.2,v 1.44 2009/10/26 21:09:33 jasper Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 5 2007 $ +.Dd $Mdocdate: October 26 2009 $ .Dt INTRO 2 .Os .Sh NAME @@ -431,6 +431,8 @@ An IPC identifier was removed while the current process was waiting on it. .It Er 90 ENOMSG Em "\&No message of desired type". An IPC message queue does not contain a message of the desired type, or a message catalog does not contain the requested message. +.It Er 91 ENOTSUP Em "Operation not supported" . +The attempted operation is not supported for the type of object referenced. .El .Sh DEFINITIONS .Bl -tag -width Ds diff --git a/sys/sys/errno.h b/sys/sys/errno.h index 8a31e88d594..02abdf3f20c 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -1,4 +1,4 @@ -/* $OpenBSD: errno.h,v 1.20 2007/09/03 14:37:52 millert Exp $ */ +/* $OpenBSD: errno.h,v 1.21 2009/10/26 21:09:33 jasper Exp $ */ /* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */ /* @@ -166,8 +166,9 @@ #endif /* __BSD_VISIBLE */ #define EIDRM 89 /* Identifier removed */ #define ENOMSG 90 /* No message of desired type */ +#define ENOTSUP 91 /* Operation not supported */ #if __BSD_VISIBLE -#define ELAST 90 /* Must be equal largest errno */ +#define ELAST 91 /* Must be equal largest errno */ #endif /* __BSD_VISIBLE */ #ifdef _KERNEL |