Reviewed-by: Steven Dake <sdake@xxxxxxxxxx> On 02/01/2012 10:00 AM, Jan Friesse wrote: > Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> > --- > exec/logsys.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/exec/logsys.c b/exec/logsys.c > index cac858a..3da590e 100644 > --- a/exec/logsys.c > +++ b/exec/logsys.c > @@ -195,7 +195,7 @@ static int logsys_config_file_set_unlocked ( > > logsys_loggers[subsysid].target_id = qb_log_file_open(file); > if (logsys_loggers[subsysid].target_id < 0) { > - int err = logsys_loggers[subsysid].target_id; > + int err = -logsys_loggers[subsysid].target_id; > char error_str[LOGSYS_MAX_PERROR_MSG_LEN]; > const char *error_ptr; > error_ptr = qb_strerror_r(err, error_str, sizeof(error_str)); _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss