Fix snprintf() format

This commit is contained in:
Hallvard Furuseth 2005-09-26 04:39:51 +00:00
parent 55fa9241a4
commit 05f5c7525b

View File

@ -630,11 +630,11 @@ really_bad:;
sres = slap_map_api2result( rs );
snprintf( buf, sizeof( buf ),
"%s meta_back_search[%d] "
"match=\"%s\" err=%d\n",
"%s meta_back_search[%ld] "
"match=\"%s\" err=%ld\n",
op->o_log_prefix, i,
candidates[ i ].sr_matched ? candidates[ i ].sr_matched : "",
candidates[ i ].sr_err );
(long) candidates[ i ].sr_err );
Debug( LDAP_DEBUG_ANY, "%s", buf, 0, 0 );
switch ( sres ) {