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, 3 insertions, 1 deletions
diff --git a/kern/error.c b/kern/error.c
index 043cdb98..e37c67ce 100644
--- a/kern/error.c
+++ b/kern/error.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Richard Braun.
+ * Copyright (c) 2014-2017 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,6 +34,8 @@ error_str(int error)
return "device or resource busy";
case ERROR_FAULT:
return "Bad address";
+ case ERROR_NODEV:
+ return "No such device";
default:
return "unknown error";
}