LibC: add errno NAMETOOLONG

This commit is contained in:
Bananymous
2023-03-23 14:48:42 +02:00
parent efe73caf1b
commit d6e4430692
2 changed files with 4 additions and 0 deletions

View File

@@ -40,6 +40,9 @@ char* strerror(int error)
case ENOTEMPTY:
strcpy(buffer, "Directory not empty");
break;
case ENAMETOOLONG:
strcpy(buffer, "Filename too long");
break;
default:
{
// FIXME: sprintf