diff options
author | 2007-05-21 17:01:49 +0000 | |
---|---|---|
committer | 2007-05-21 17:01:49 +0000 | |
commit | 670328febeead74d0f4cc15e669480bb8c39376e (patch) | |
tree | ac43b6fad50a81e7d228d9ea289678056e083f21 /lib/libc/gen/errlist.c | |
parent | clean up lint warnings related to the nfds_t type. okay marc@ millert@ (diff) | |
download | wireguard-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.c | 5 |
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] }; |