aboutsummaryrefslogtreecommitdiff
path: root/apps/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/init.c')
-rw-r--r--apps/init.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/init.c b/apps/init.c
index 87f0d82..c59e3bf 100644
--- a/apps/init.c
+++ b/apps/init.c
@@ -6,12 +6,14 @@
#include <str.h>
#include <sys.h>
+#include <cpu.h>
+
int main(int argc, char **argv)
{
- (void)argc;
- log("%s loaded\n", argv[0]);
+ UNUSED(argc);
+ UNUSED(argv);
- int wm = exec("/bin/wm", "wm", argv[1], NULL);
+ int wm = exec("/bin/wm", "wm", NULL);
int test = exec("/bin/window", "test", NULL);
return wm + test;