X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libust%2Ftracectl.c;h=410b1c72e75cb52a2fd24a2898c590f31c011455;hp=771e4e1f6c86540cd1a478b2b0abde8c98d90b96;hb=HEAD;hpb=c72922954e8622cea2d1b8338bb286c15c0b1104 diff --git a/libust/tracectl.c b/libust/tracectl.c index 771e4e1..410b1c7 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include @@ -1709,7 +1709,6 @@ static void ust_after_fork_common(ust_fork_info_t *fork_info) pthread_mutex_unlock(&listen_sock_mutex); pthread_mutex_unlock(&listener_thread_data_mutex); - /* Restore signals */ result = sigprocmask(SIG_SETMASK, &fork_info->orig_sigs, NULL); if (result == -1) { @@ -1733,7 +1732,7 @@ void ust_after_fork_child(ust_fork_info_t *fork_info) /* Sanitize the child */ ust_fork(); - /* Then release mutexes and reenable signals */ + /* Release mutexes and reenable signals */ ust_after_fork_common(fork_info); }