Re: [PATCH] Ensure qb_log thread is started

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

On 09/04/2012 05:02 PM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/logsys.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/exec/logsys.c b/exec/logsys.c
> index ed16bc7..74d257d 100644
> --- a/exec/logsys.c
> +++ b/exec/logsys.c
> @@ -292,6 +292,7 @@ int _logsys_system_setup(
>  	int i;
>  	int32_t fidx;
>  	char tempsubsys[LOGSYS_MAX_SUBSYS_NAMELEN];
> +	int res;
>  
>  	if ((mainsystem == NULL) ||
>  	    (strlen(mainsystem) >= LOGSYS_MAX_SUBSYS_NAMELEN)) {
> @@ -385,10 +386,11 @@ int _logsys_system_setup(
>  			_logsys_config_apply_per_subsys(i);
>  		}
>  	}
> +	res = qb_log_thread_start();
>  
>  	pthread_mutex_unlock (&logsys_config_mutex);
>  
> -	return (0);
> +	return (res);
>  }
>  
>  
> 

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux