From 51da53b4b04e9f5a15a63b52627eee973a9ba22b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 29 Apr 2003 14:55:36 +0000 Subject: [PATCH] Print long with %ld, not %d. --- servers/slapd/back-bdb/cache.c | 8 ++++---- servers/slapd/back-bdb/tools.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index ec1490061f..f9d28852b7 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -67,11 +67,11 @@ bdb_cache_entry_db_relock( 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 { @@ -106,11 +106,11 @@ bdb_cache_entry_db_lock 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 } diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 6f02f6184e..b133362557 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -61,7 +61,7 @@ int bdb_tool_entry_close( unsigned i; fprintf( stderr, "Error, entries missing!\n"); for (i=0; i