summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 84475da..119984e 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -4,13 +4,13 @@
int _syscall(int, int, int, int);
-void exit(const char *msg, size_t len) {
- _syscall(SC_EXIT, (void*)msg, len, 0);
+_Noreturn void exit(const char *msg, size_t len) {
+ _syscall(SC_EXIT, (int)msg, len, 0);
__builtin_unreachable();
}
int debuglog(const char *msg, size_t len) {
- return _syscall(SC_DEBUGLOG, (void*)msg, len, 0);
+ return _syscall(SC_DEBUGLOG, (int)msg, len, 0);
}