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