Просмотр исходного кода

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 лет назад
Родитель
Сommit
6475d557c4
1 измененных файлов с 1 добавлено и 1 удалено
  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;
 		}
 	}