diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-05-21 17:01:50 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-05-21 17:01:50 +0000 |
commit | 01e4d117800e4631cc66c25da8f68df5697a780f (patch) | |
tree | 0692bff651a5f3d5220fd7f2727b57075ef08f12 /lib/libc/gen | |
parent | 668beb1868c18b6799bec2b2d0f7bcd89d83bc3e (diff) |
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')
-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] }; |