×
Close
The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
Blame SOURCES/0021-Ticket-49540-Fix-compiler-warning-in-ldif2ldbm.patch
Branch: 7690391f1961c3182f016c7b18b91000da4c8939
769039
From 9ab11ef54c378772982ef65cba3ea6718942899c Mon Sep 17 00:00:00 2001
769039
From: Mark Reynolds <mreynolds@redhat.com>
769039
Date: Tue, 15 Jan 2019 13:55:18 -0500
769039
Subject: [PATCH] Ticket 49540 - FIx compiler warning in ldif2ldbm
769039
769039
https://pagure.io/389-ds-base/issue/49540
769039
769039
Reviewed by: mreynolds(one line commit rule)
769039
769039
(cherry picked from commit 58be90b8bf96a7a0e10740b122035ea03fa13e0f)
769039
(cherry picked from commit c9580477ffe22a08c0094378e81a6927d0dc4ffc)
769039
---
769039
ldap/servers/slapd/back-ldbm/ldif2ldbm.c | 2 +-
769039
1 file changed, 1 insertion(+), 1 deletion(-)
769039
769039
diff --git a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c b/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
769039
index 69a2af9cf..11c020af0 100644
769039
--- a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
769039
+++ b/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
769039
@@ -713,7 +713,7 @@ ldbm_back_ldif2ldbm(Slapi_PBlock *pb)
769039
uint64_t refcnt;
769039
refcnt = slapi_counter_get_value(inst->inst_ref_count);
769039
if (refcnt > 0) {
769039
- slapi_log_err(SLAPI_LOG_ERR, "ldbm_back_ldif2ldbm", "ldbm: '%s' there are %d pending operation(s)."
769039
+ slapi_log_err(SLAPI_LOG_ERR, "ldbm_back_ldif2ldbm", "ldbm: '%s' there are %" PRIu64 " pending operation(s)."
769039
" Import can not proceed until they are completed.\n",
769039
inst->inst_name,
769039
refcnt);
769039
--
769039
2.17.2
769039