diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/errstr.c | 10 | ||||
| -rw-r--r-- | lib/printf.c | 2 | ||||
| -rw-r--r-- | lib/virtterm.c | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/lib/errstr.c b/lib/errstr.c index 6c4425d..d4aed8a 100644 --- a/lib/errstr.c +++ b/lib/errstr.c @@ -15,7 +15,15 @@ errstr(int err) [EHASMAP] = "HAS MAP", [EALIGN] = "ALIGNMENT ERROR", [EEXIST] = "ALREADY EXISTS", - [EBUSY] = "RESOURCE BUSY" + [EBUSY] = "RESOURCE BUSY", + [EEMPTY] = "EMPTY", + [EFULL] = "FULL", + [EOVERFLOW] = "OVERFLOW", + [EBADCALL] = "BAD CALL", + [EPERM] = "NO PERMISSION", + [EBADPROC] = "INVALID PROCESS", + [ENOMAIL] = "NO MAIL", + [ETIMEOUT] = "TIMEOUT" }; if(err >= sizeof(errstrs) / sizeof(const char*)) { return "UNKNOWN ERROR"; diff --git a/lib/printf.c b/lib/printf.c index 0a9cc15..7fa681e 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -1,6 +1,6 @@ #include "printf.h" #include "string.h" -#include "init.h" +#include "proc/init.h" #include "hal/obj.h" #include <stdint.h> diff --git a/lib/virtterm.c b/lib/virtterm.c index 0daa921..8518530 100644 --- a/lib/virtterm.c +++ b/lib/virtterm.c @@ -2,7 +2,7 @@ #include "boot/cmdline.h" #include "boot/initrd.h" #include "hal/obj.h" -#include "init.h" +#include "proc/init.h" #include "jove.h" #include "hal/framebuffer.h" #include "lib/printf.h" |
