summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/error.c2
-rw-r--r--kern/error.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/kern/error.c b/kern/error.c
index 02a26d0..a24c5db 100644
--- a/kern/error.c
+++ b/kern/error.c
@@ -40,6 +40,8 @@ error_str(int error)
return "Entry exists";
case ERROR_IO:
return "Input/output error";
+ case ERROR_SRCH:
+ return "no such process";
default:
return "unknown error";
}
diff --git a/kern/error.h b/kern/error.h
index 96a2620..4d69a6e 100644
--- a/kern/error.h
+++ b/kern/error.h
@@ -26,6 +26,7 @@
#define ERROR_NODEV 6
#define ERROR_EXIST 7
#define ERROR_IO 8
+#define ERROR_SRCH 9
/*
* Return a string describing the given error.