Import CStringView from the Babeltrace tree
[lttng-tools.git] / tests / regression / ust / fork / fork.c
index 55c9d49bc47792cf0101e7d31dcc9829e71a5faa..2387f245e89678e8c71bc59bd6190228f62c11d5 100644 (file)
@@ -7,10 +7,10 @@
  */
 
 #include <stdio.h>
-#include <unistd.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <stdlib.h>
+#include <unistd.h>
 
 #define TRACEPOINT_DEFINE
 #define TRACEPOINT_CREATE_PROBES
@@ -34,7 +34,7 @@ int main(int argc, char **argv, char *env[])
                return 1;
        }
        if (result == 0) {
-               char *args[] = { "fork2", NULL };
+               char *args[] = { (char *) "fork2", NULL };
 
                tracepoint(ust_tests_fork, after_fork_child, getpid());
 
This page took 0.023418 seconds and 4 git commands to generate.