andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From 74c090e74f26f9953953e21d252fdc8ff9a0be7d Mon Sep 17 00:00:00 2001
dc8c34
From: Mark Reynolds <mreynolds@redhat.com>
dc8c34
Date: Thu, 22 Dec 2016 13:48:52 -0500
dc8c34
Subject: [PATCH 421/425] Ticket 49072 - fix log refactoring(part 2)
dc8c34
dc8c34
Description:  change slapi_log_err() to slapi_log_error()
dc8c34
dc8c34
https://fedorahosted.org/389/ticket/49072
dc8c34
dc8c34
Reviewed by: mreynolds(one line commit rule)
dc8c34
dc8c34
(cherry picked from commit 262f095f1b97a71b695d334bdd80ce35f11c4d07)
dc8c34
(cherry picked from commit f850128a0ba537dfab834205865b692f219da8ec)
dc8c34
---
dc8c34
 ldap/servers/plugins/memberof/memberof.c | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/plugins/memberof/memberof.c b/ldap/servers/plugins/memberof/memberof.c
dc8c34
index 9f750f1..2cdaabb 100644
dc8c34
--- a/ldap/servers/plugins/memberof/memberof.c
dc8c34
+++ b/ldap/servers/plugins/memberof/memberof.c
dc8c34
@@ -2465,7 +2465,7 @@ int memberof_fix_memberof(MemberOfConfig *config, Slapi_Task *task, task_data *t
dc8c34
 
dc8c34
 		slapi_pblock_get(search_pb, SLAPI_PLUGIN_INTOP_RESULT, &result);
dc8c34
 		errmsg = ldap_err2string(result);
dc8c34
-		slapi_log_error(SLAPI_LOG_ERR, MEMBEROF_PLUGIN_SUBSYSTEM,
dc8c34
+		slapi_log_error(SLAPI_LOG_FATAL, MEMBEROF_PLUGIN_SUBSYSTEM,
dc8c34
 			"memberof_fix_memberof - Failed (%s)\n", errmsg );
dc8c34
 		slapi_task_log_notice(task, "Memberof task failed (%s)\n", errmsg );
dc8c34
 	}
dc8c34
-- 
dc8c34
2.9.3
dc8c34