diff options
Diffstat (limited to 'apps/init.c')
-rw-r--r-- | apps/init.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/init.c b/apps/init.c index 64fbde3..07977ee 100644 --- a/apps/init.c +++ b/apps/init.c @@ -10,12 +10,9 @@ int main(int argc, char **argv) { - (void)argc; - printf("ARGC: %d\n", argc); - printf("ARGV: %x\n", argv); - printf("%s loaded.\n", argv[0]); + printf("[%s loaded]\n", argv[0]); - exec("/wm", "wm", argv[1], NULL); - return 0; + int wm = exec("/wm", "wm", argv[1], NULL); + return wm; } |