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