diff options
Diffstat (limited to 'kern/error.h')
-rw-r--r-- | kern/error.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/error.h b/kern/error.h index 0d8bf73a..cf88775d 100644 --- a/kern/error.h +++ b/kern/error.h @@ -24,6 +24,11 @@ #define ERROR_BUSY 4 /* + * Return a string describing the given error. + */ +const char * error_str(int error); + +/* * If error denotes an actual error (i.e. is not 0), panic, using the given * string as a prefix for the error message. A NULL prefix is allowed. */ |