1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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";
}
}