summaryrefslogtreecommitdiff
path: root/kern/error.h
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.h
parent0c5308c10ab34dc50fd22f39bb068cc145c658f2 (diff)
kern/error: new ERROR_TIMEDOUT macro
Diffstat (limited to 'kern/error.h')
-rw-r--r--kern/error.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kern/error.h b/kern/error.h
index 4d69a6e..a77db97 100644
--- a/kern/error.h
+++ b/kern/error.h
@@ -18,15 +18,16 @@
#ifndef _KERN_ERROR_H
#define _KERN_ERROR_H
-#define ERROR_NOMEM 1
-#define ERROR_AGAIN 2
-#define ERROR_INVAL 3
-#define ERROR_BUSY 4
-#define ERROR_FAULT 5
-#define ERROR_NODEV 6
-#define ERROR_EXIST 7
-#define ERROR_IO 8
-#define ERROR_SRCH 9
+#define ERROR_NOMEM 1
+#define ERROR_AGAIN 2
+#define ERROR_INVAL 3
+#define ERROR_BUSY 4
+#define ERROR_FAULT 5
+#define ERROR_NODEV 6
+#define ERROR_EXIST 7
+#define ERROR_IO 8
+#define ERROR_SRCH 9
+#define ERROR_TIMEDOUT 10
/*
* Return a string describing the given error.