remove facilities from ltt-control
[ltt-control.git] / ltt-control / lttd / lttd.c
index 349834297e86e710c3b1d6576e67b40ad15cb192..4764838c82d6c7138c1880d96b0abeac4f8b8e09 100644 (file)
@@ -813,7 +813,6 @@ close_channel:
        return (void*)ret;
 }
 
-
 int main(int argc, char ** argv)
 {
        int ret = 0;
@@ -850,9 +849,9 @@ int main(int argc, char ** argv)
        sigaction(SIGQUIT, &act, NULL);
        sigaction(SIGINT, &act, NULL);
 
-
        tids = malloc(sizeof(pthread_t) * num_threads);
        for(i=0; i<num_threads; i++) {
+
                ret = pthread_create(&tids[i], NULL, thread_main, (void*)i);
                if(ret) {
                        perror("Error creating thread");
This page took 0.022881 seconds and 4 git commands to generate.