From 3d522a0c9fd79b0275a219bde1f4465b181a9318 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 29 Nov 2003 17:26:23 +0000 Subject: [PATCH] Format %d -> %ld. --- servers/slapd/back-bdb/ctxcsn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/ctxcsn.c b/servers/slapd/back-bdb/ctxcsn.c index 495b191224..1428d51900 100644 --- a/servers/slapd/back-bdb/ctxcsn.c +++ b/servers/slapd/back-bdb/ctxcsn.c @@ -266,7 +266,7 @@ bdb_get_commit_csn( struct berval bv; LDAP_STAILQ_FOREACH( si, &op->o_bd->be_syncinfo, si_next ) { - sprintf( substr, "cn=syncrepl%d", si->si_rid ); + sprintf( substr, "cn=syncrepl%ld", si->si_rid ); ber_str2bv( substr, 0, 0, &bv ); build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], &bv, NULL ); -- 2.39.5