mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix printf/Debug format arguments.
This commit is contained in:
parent
a54549f1d5
commit
3420d12bdc
@ -502,11 +502,11 @@ retry: /* transaction retry */
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG ( OPERATION, DETAIL1,
|
||||
"==>bdb_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
||||
np, (long) np->e_id, 0 );
|
||||
(void *) np, (long) np->e_id, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"bdb_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
||||
np, (long) np->e_id, 0 );
|
||||
(void *) np, (long) np->e_id, 0 );
|
||||
#endif
|
||||
|
||||
/* check newSuperior for "children" acl */
|
||||
|
@ -341,11 +341,11 @@ ldbm_back_modrdn(
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( BACK_LDBM, DETAIL1,
|
||||
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
||||
np, np->e_id, 0 );
|
||||
(void *) np, np->e_id, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
||||
np, np->e_id, 0 );
|
||||
(void *) np, np->e_id, 0 );
|
||||
#endif
|
||||
|
||||
/* check newSuperior for "children" acl */
|
||||
|
@ -2967,7 +2967,8 @@ parse_syncrepl_line(
|
||||
si->interval = atoi( val );
|
||||
if ( si->interval < 0 ) {
|
||||
fprintf( stderr, "Error: parse_syncrepl_line: "
|
||||
"invalid interval \"%d\"\n", si->interval);
|
||||
"invalid interval \"%ld\"\n",
|
||||
(long) si->interval);
|
||||
return 1;
|
||||
}
|
||||
} else if ( !strncasecmp( cargv[ i ],
|
||||
|
Loading…
Reference in New Issue
Block a user