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