Fixes some RISCV compilation issues
[akaros.git] / tests / fork.c
index 11ea1c7..b7efa42 100644 (file)
@@ -1,5 +1,5 @@
 #include <stdlib.h>
-#include <rstdio.h>
+#include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -14,6 +14,8 @@ int main(int argc, char** argv)
                waitpid(pid, &status, 0);
        } else {
                printf("Hello world from child!!\n");
+               printf("Child trying to exec Hello...\n");
+               execv("/bin/hello", argv);
        }
        return 0;
 }