From: Erik van der Kouwe Date: Thu, 31 Dec 2009 11:48:08 +0000 (+0000) Subject: Added EILSEQ, based on newsgroup post by Leith X-Git-Tag: v3.1.6~120 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/zpipe.c?a=commitdiff_plain;h=c42de8045f5b125f18bc5bbb8af717eb80c2a3e0;p=minix.git Added EILSEQ, based on newsgroup post by Leith --- diff --git a/include/errno.h b/include/errno.h index 5c26cc7b4..41467474a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -76,6 +76,7 @@ extern int errno; /* place where the error numbers go */ #define ELOOP (_SIGN 40) /* too many levels of symlinks detected */ #define ERESTART (_SIGN 41) /* driver restarted */ #define EIDRM (_SIGN 43) /* Identifier removed */ +#define EILSEQ (_SIGN 44) /* illegal byte sequence */ /* The following errors relate to networking. */ #define EPACKSIZE (_SIGN 50) /* invalid packet size for some protocol */ diff --git a/lib/ansi/errlist.c b/lib/ansi/errlist.c index 0d27a53b4..bdd03002a 100644 --- a/lib/ansi/errlist.c +++ b/lib/ansi/errlist.c @@ -53,7 +53,7 @@ const char *_sys_errlist[] = { "Driver restarted", /* ERESTART */ unknown, /* 42 */ "Identifier removed", /* EIDRM */ - unknown, /* 44 */ + "Illegal byte sequence", /* EILSEQ */ unknown, /* 45 */ unknown, /* 46 */ unknown, /* 47 */