if (rc) {
#ifdef NEW_LOGGING
LDAP_LOG( CACHE, DETAIL1,
- "bdb_cache_entry_db_relock: entry %d, rw %d, rc %d\n",
+ "bdb_cache_entry_db_relock: entry %ld, rw %d, rc %d\n",
ei->bei_id, rw, rc );
#else
Debug( LDAP_DEBUG_TRACE,
- "bdb_cache_entry_db_relock: entry %d, rw %d, rc %d\n",
+ "bdb_cache_entry_db_relock: entry %ld, rw %d, rc %d\n",
ei->bei_id, rw, rc );
#endif
} else {
if (rc) {
#ifdef NEW_LOGGING
LDAP_LOG( CACHE, DETAIL1,
- "bdb_cache_entry_db_lock: entry %d, rw %d, rc %d\n",
+ "bdb_cache_entry_db_lock: entry %ld, rw %d, rc %d\n",
ei->bei_id, rw, rc );
#else
Debug( LDAP_DEBUG_TRACE,
- "bdb_cache_entry_db_lock: entry %d, rw %d, rc %d\n",
+ "bdb_cache_entry_db_lock: entry %ld, rw %d, rc %d\n",
ei->bei_id, rw, rc );
#endif
}
unsigned i;
fprintf( stderr, "Error, entries missing!\n");
for (i=0; i<nholes; i++) {
- fprintf(stderr, " entry %d: %s\n",
+ fprintf(stderr, " entry %ld: %s\n",
holes[i].id, holes[i].dn.bv_val, 0);
}
return -1;