From 9fb49d0eb803eec381fcdc340fff3c7fe9c33742 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Sat, 27 Feb 2010 12:01:55 -0500 Subject: [PATCH] ust_fork(): create listener after iniializing socket --- libust/tracectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libust/tracectl.c b/libust/tracectl.c index af0149a..c34a3ce 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -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) { -- 2.34.1