ust_fork(): create listener after iniializing socket
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Sat, 27 Feb 2010 17:01:55 +0000 (12:01 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Sat, 27 Feb 2010 17:01:55 +0000 (12:01 -0500)
libust/tracectl.c

index af0149a5cb82a9d41c59c253ff6343a5d7f2d028..c34a3ce4ad3f673393ef3df9da5f89baa965d7e8 100644 (file)
@@ -1474,8 +1474,8 @@ static void ust_fork(void)
        }
 
        have_listener = 0;
-       create_listener();
        init_socket();
+       create_listener();
        ltt_trace_setup("auto");
        result = ltt_trace_set_type("auto", "ustrelay");
        if(result < 0) {
This page took 0.024426 seconds and 4 git commands to generate.