Added ENODRV.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-05-27 14:28:33 +02:00
parent 12326f2e34
commit 4dda38cab3
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#define EEOF 44
#define EBOUND 45
#define EINIT 46
#define ENODRV 47
#define EOPNOTSUPP ENOTSUP

View File

@ -96,6 +96,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EEOF: return "End of file";
case EBOUND: return "Out of bounds";
case EINIT: return "Not initialized";
case ENODRV: return (char*) "No such driver";
default: return "Unknown error condition";
}
}