aboutsummaryrefslogtreecommitdiff
path: root/apps/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/init.c')
-rw-r--r--apps/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/init.c b/apps/init.c
index 91f5083..2851e8e 100644
--- a/apps/init.c
+++ b/apps/init.c
@@ -2,12 +2,12 @@
#include <def.h>
#include <print.h>
-#include <str.h>
+#include <sys.h>
void main()
{
- print("Init loaded\n");
- __asm__ volatile("int $0x80");
+ print("Init loaded.\n");
+ sys1(SYS_EXEC, (int)"/a");
while (1) {
print("b");
};