058656
From 189c3ce4d5b5c9341a60d4056dad26133d9607ca Mon Sep 17 00:00:00 2001
058656
From: William Brown <firstyear@redhat.com>
058656
Date: Fri, 17 Nov 2017 11:43:36 +1000
058656
Subject: [PATCH] Ticket 49298 - fix complier warn
058656
058656
Bug Description:  Extra argument to error log in dse.c
058656
058656
Fix Description:  Remove extra argument.
058656
058656
https://pagure.io/389-ds-base/issue/49298
058656
058656
Author: wibrown
058656
058656
Review by: oneline rule.
058656
---
058656
 ldap/servers/slapd/dse.c | 2 +-
058656
 1 file changed, 1 insertion(+), 1 deletion(-)
058656
058656
diff --git a/ldap/servers/slapd/dse.c b/ldap/servers/slapd/dse.c
058656
index 653009f53..662e91aa7 100644
058656
--- a/ldap/servers/slapd/dse.c
058656
+++ b/ldap/servers/slapd/dse.c
058656
@@ -613,7 +613,7 @@ dse_check_file(char *filename, char *backupname)
058656
             return 1;
058656
         } else {
058656
             slapi_log_err(SLAPI_LOG_INFO, "dse_check_file",
058656
-                          "The config %s has zero length. Attempting restore ... \n", filename, rc);
058656
+                          "The config %s has zero length. Attempting restore ... \n", filename);
058656
             rc = PR_Delete(filename);
058656
         }
058656
     } else {
058656
-- 
058656
2.13.6
058656