diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 2da62c485a..9957eeb39c 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -1719,7 +1719,7 @@ send_paged_response( #ifdef NEW_LOGGING LDAP_LOG ( OPERATION, ENTRY, "send_paged_response: lastid: (0x%08lx) " - "nentries: (0x%081x)\n", + "nentries: (0x%08x)\n", lastid ? *lastid : 0, rs->sr_nentries, NULL ); #else Debug(LDAP_DEBUG_ARGS, "send_paged_response: lastid: (0x%08lx) "