summaryrefslogtreecommitdiff
path: root/kern/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/error.c')
-rw-r--r--kern/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/error.c b/kern/error.c
index e37c67c..02a26d0 100644
--- a/kern/error.c
+++ b/kern/error.c
@@ -36,6 +36,10 @@ error_str(int error)
return "Bad address";
case ERROR_NODEV:
return "No such device";
+ case ERROR_EXIST:
+ return "Entry exists";
+ case ERROR_IO:
+ return "Input/output error";
default:
return "unknown error";
}