summaryrefslogtreecommitdiff
path: root/kern/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/init.h')
-rw-r--r--kern/init.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kern/init.h b/kern/init.h
index 11a0c804..809123d4 100644
--- a/kern/init.h
+++ b/kern/init.h
@@ -42,7 +42,8 @@
#ifndef __ASSEMBLER__
-#include <kern/error.h>
+#include <errno.h>
+
#include <kern/macros.h>
#define __init __section(QUOTE(INIT_SECTION))
@@ -94,7 +95,7 @@ typedef int (*init_op_fn_t)(void);
.name = QUOTE(_fn), \
.fn = _fn, \
.deps = INIT_OP_DEPS(_fn), \
- .error = ERROR_AGAIN, \
+ .error = EAGAIN, \
.state = INIT_OP_STATE_UNLINKED, \
.nr_deps = ARRAY_SIZE(INIT_OP_DEPS(_fn)), \
.nr_parents = 0, \