Re: [PATCH 1/3] Store error str if can't open logfile

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

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 02/01/2012 10:00 AM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/mainconfig.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/exec/mainconfig.c b/exec/mainconfig.c
> index 94f1fd3..b5dc5dd 100644
> --- a/exec/mainconfig.c
> +++ b/exec/mainconfig.c
> @@ -379,7 +379,7 @@ static int corosync_main_config_set (
>  
>  	snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "%s.%s", path, "logfile");
>  	if (icmap_get_string(key_name, &value) == CS_OK) {
> -		if (logsys_config_file_set (subsys, error_string, value) < 0) {
> +		if (logsys_config_file_set (subsys, &error_reason, value) < 0) {
>  			goto parse_error;
>  		}
>  		free(value);

_______________________________________________
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