Sfoglia il codice sorgente

Store error str if can't open logfile

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
(backported from commit a80febda7e8b1bd83f74909c57b682bc9b0a784e)
Jan Friesse 14 anni fa
parent
commit
f954852ef1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      exec/mainconfig.c

+ 1 - 1
exec/mainconfig.c

@@ -403,7 +403,7 @@ static int corosync_main_config_set (
 	}
 
 	if (!objdb_get_string (objdb,object_handle, "logfile", &value)) {
-		if (logsys_config_file_set (subsys, error_string, value) < 0) {
+		if (logsys_config_file_set (subsys, &error_reason, value) < 0) {
 			goto parse_error;
 		}
 	}