Add ELOOP.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-01-05 15:07:35 +01:00
parent 1e2785b17f
commit 6c9852c21f
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#define EXDEV 50
#define ESPIPE 51
#define ENAMETOOLONG 52
#define ELOOP 53
#define EOPNOTSUPP ENOTSUP

View File

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