Add EMLINK.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-12-20 02:01:29 +01:00
parent 6c9852c21f
commit 517025f474
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#define ESPIPE 51
#define ENAMETOOLONG 52
#define ELOOP 53
#define EMLINK 54
#define EOPNOTSUPP ENOTSUP

View File

@ -72,6 +72,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ESPIPE: return "Cannot seek on stream";
case ENAMETOOLONG: return "Filename too long";
case ELOOP: return "Too many levels of symbolic links";
case EMLINK: return "Too many links";
default: return "Unknown error condition";
}
}