93ba16
From 1771e04a2a831887de8c95016fb73e4a4da3f46c Mon Sep 17 00:00:00 2001
93ba16
From: Mark Reynolds <mreynolds@redhat.com>
93ba16
Date: Tue, 20 Oct 2020 14:53:01 -0400
93ba16
Subject: [PATCH 5/5] Issue 4389 - errors log with incorrectly formatted
93ba16
 message parent_update_on_childchange
93ba16
93ba16
Description:  The arguemtns were incorrect for the logging line
93ba16
93ba16
Fixes: https://github.com/389ds/389-ds-base/issues/4389
93ba16
93ba16
Reviewed by: mreynolds(one line commit rule)
93ba16
---
93ba16
 ldap/servers/slapd/back-ldbm/parents.c | 4 ++--
93ba16
 1 file changed, 2 insertions(+), 2 deletions(-)
93ba16
93ba16
diff --git a/ldap/servers/slapd/back-ldbm/parents.c b/ldap/servers/slapd/back-ldbm/parents.c
93ba16
index 4583885f1..31107591e 100644
93ba16
--- a/ldap/servers/slapd/back-ldbm/parents.c
93ba16
+++ b/ldap/servers/slapd/back-ldbm/parents.c
93ba16
@@ -103,8 +103,8 @@ parent_update_on_childchange(modify_context *mc, int op, size_t *new_sub_count)
93ba16
             if (!already_present) {
93ba16
                 /* This means that there was a conflict.  Before coming to this point,
93ba16
                  * the entry to be deleted was deleted... */
93ba16
-                slapi_log_err(SLAPI_LOG_ERR, "parent_update_on_childchange - "
93ba16
-                                             "Parent %s has no children. (op 0x%x, repl_op 0x%x)\n",
93ba16
+                slapi_log_err(SLAPI_LOG_ERR, "parent_update_on_childchange",
93ba16
+                              "Parent %s has no children. (op 0x%x, repl_op 0x%x)\n",
93ba16
                               slapi_entry_get_dn(mc->old_entry->ep_entry), op, repl_op);
93ba16
                 slapi_mods_free(&smods);
93ba16
                 return -1;
93ba16
-- 
93ba16
2.26.2
93ba16