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
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG ( OPERATION, DETAIL1,
|
LDAP_LOG ( OPERATION, DETAIL1,
|
||||||
"==>bdb_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
"==>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
|
#else
|
||||||
Debug( LDAP_DEBUG_TRACE,
|
Debug( LDAP_DEBUG_TRACE,
|
||||||
"bdb_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
"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
|
#endif
|
||||||
|
|
||||||
/* check newSuperior for "children" acl */
|
/* check newSuperior for "children" acl */
|
||||||
|
@ -341,11 +341,11 @@ ldbm_back_modrdn(
|
|||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG( BACK_LDBM, DETAIL1,
|
LDAP_LOG( BACK_LDBM, DETAIL1,
|
||||||
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
"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
|
#else
|
||||||
Debug( LDAP_DEBUG_TRACE,
|
Debug( LDAP_DEBUG_TRACE,
|
||||||
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%ld\n",
|
"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
|
#endif
|
||||||
|
|
||||||
/* check newSuperior for "children" acl */
|
/* check newSuperior for "children" acl */
|
||||||
|
@ -2967,7 +2967,8 @@ parse_syncrepl_line(
|
|||||||
si->interval = atoi( val );
|
si->interval = atoi( val );
|
||||||
if ( si->interval < 0 ) {
|
if ( si->interval < 0 ) {
|
||||||
fprintf( stderr, "Error: parse_syncrepl_line: "
|
fprintf( stderr, "Error: parse_syncrepl_line: "
|
||||||
"invalid interval \"%d\"\n", si->interval);
|
"invalid interval \"%ld\"\n",
|
||||||
|
(long) si->interval);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else if ( !strncasecmp( cargv[ i ],
|
} else if ( !strncasecmp( cargv[ i ],
|
||||||
|
Loading…
Reference in New Issue
Block a user