]> Zhao Yanbai Git Server - minix.git/commitdiff
Added EILSEQ, based on newsgroup post by Leith
authorErik van der Kouwe <erik@minix3.org>
Thu, 31 Dec 2009 11:48:08 +0000 (11:48 +0000)
committerErik van der Kouwe <erik@minix3.org>
Thu, 31 Dec 2009 11:48:08 +0000 (11:48 +0000)
include/errno.h
lib/ansi/errlist.c

index 5c26cc7b43dbb203ef52a60affbfc225ad0f74bf..41467474a905d6c7f1921d5857c05e74215feaf7 100644 (file)
@@ -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 */
index 0d27a53b4343c89f72aba93dd7c52d4eaa43e442..bdd03002a09cc442b924ded986a3bd46c2613197 100644 (file)
@@ -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 */