×
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
583fac
From 9ab11ef54c378772982ef65cba3ea6718942899c Mon Sep 17 00:00:00 2001
583fac
From: Mark Reynolds <mreynolds@redhat.com>
583fac
Date: Tue, 15 Jan 2019 13:55:18 -0500
583fac
Subject: [PATCH] Ticket 49540 - FIx compiler warning in ldif2ldbm
583fac
583fac
https://pagure.io/389-ds-base/issue/49540
583fac
583fac
Reviewed by: mreynolds(one line commit rule)
583fac
583fac
(cherry picked from commit 58be90b8bf96a7a0e10740b122035ea03fa13e0f)
583fac
(cherry picked from commit c9580477ffe22a08c0094378e81a6927d0dc4ffc)
583fac
---
583fac
ldap/servers/slapd/back-ldbm/ldif2ldbm.c | 2 +-
583fac
1 file changed, 1 insertion(+), 1 deletion(-)
583fac
583fac
diff --git a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c b/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
583fac
index 69a2af9cf..11c020af0 100644
583fac
--- a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
583fac
+++ b/ldap/servers/slapd/back-ldbm/ldif2ldbm.c
583fac
@@ -713,7 +713,7 @@ ldbm_back_ldif2ldbm(Slapi_PBlock *pb)
583fac
uint64_t refcnt;
583fac
refcnt = slapi_counter_get_value(inst->inst_ref_count);
583fac
if (refcnt > 0) {
583fac
- slapi_log_err(SLAPI_LOG_ERR, "ldbm_back_ldif2ldbm", "ldbm: '%s' there are %d pending operation(s)."
583fac
+ slapi_log_err(SLAPI_LOG_ERR, "ldbm_back_ldif2ldbm", "ldbm: '%s' there are %" PRIu64 " pending operation(s)."
583fac
" Import can not proceed until they are completed.\n",
583fac
inst->inst_name,
583fac
refcnt);
583fac
--
583fac
2.17.2
583fac