summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/errlist.c
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2007-05-21 17:01:49 +0000
committerjasper <jasper@openbsd.org>2007-05-21 17:01:49 +0000
commit670328febeead74d0f4cc15e669480bb8c39376e (patch)
treeac43b6fad50a81e7d228d9ea289678056e083f21 /lib/libc/gen/errlist.c
parentclean up lint warnings related to the nfds_t type. okay marc@ millert@ (diff)
downloadwireguard-openbsd-670328febeead74d0f4cc15e669480bb8c39376e.tar.xz
wireguard-openbsd-670328febeead74d0f4cc15e669480bb8c39376e.zip
Add ECANCELED and EOVERFLOW. For canceled (async) operations and conversion
overflows, respectively. (EOVERFLOW from espie@) don't bump libc, as there are currently no functions that use them, but it doesn't hurt to have them around. as discussed with deraadt@, espie@, miod@ and otto@ ok deraadt@ espie@ miod@ otto@
Diffstat (limited to 'lib/libc/gen/errlist.c')
-rw-r--r--lib/libc/gen/errlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c
index 092608c9dba..909b831960b 100644
--- a/lib/libc/gen/errlist.c
+++ b/lib/libc/gen/errlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errlist.c,v 1.10 2006/08/04 21:35:51 beck Exp $ */
+/* $OpenBSD: errlist.c,v 1.11 2007/05/21 17:01:49 jasper Exp $ */
/*
* Copyright (c) 1982, 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -139,5 +139,8 @@ const char *const
"Illegal byte sequence", /* 84 - EILSEQ */
"No medium found", /* 85 - ENOMEDIUM */
"Wrong medium type", /* 86 - EMEDIUMTYPE */
+ /* 87 - EOVERFLOW */
+ "Value too large to be stored in data type",
+ "Operation canceled", /* 88 - ECANCELED */
};
int _sys_nerr = { sizeof _sys_errlist/sizeof _sys_errlist[0] };