]> git.sur5r.net Git - openldap/commitdiff
Format %d -> %ld.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 29 Nov 2003 17:26:23 +0000 (17:26 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 29 Nov 2003 17:26:23 +0000 (17:26 +0000)
servers/slapd/back-bdb/ctxcsn.c

index 495b191224434864a0a47113e298c37ba37d9c7b..1428d519002661d1063bfe7e1ed1d1543a34f6fc 100644 (file)
@@ -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 );