summaryrefslogtreecommitdiff
path: root/kern/error.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-06-01 01:02:35 +0200
committerRichard Braun <rbraun@sceen.net>2017-06-01 01:02:35 +0200
commit4fc4e55bf7840115075200ba51f5deddc9ce52fc (patch)
treedc570e551ad83ba9c9d0ae69481669342c456bd6 /kern/error.c
parent0c5308c10ab34dc50fd22f39bb068cc145c658f2 (diff)
kern/error: new ERROR_TIMEDOUT macro
Diffstat (limited to 'kern/error.c')
-rw-r--r--kern/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/error.c b/kern/error.c
index a24c5db..83aef26 100644
--- a/kern/error.c
+++ b/kern/error.c
@@ -42,6 +42,8 @@ error_str(int error)
return "Input/output error";
case ERROR_SRCH:
return "no such process";
+ case ERROR_TIMEDOUT:
+ return "timeout error";
default:
return "unknown error";
}