From: Pierangelo Masarati Date: Wed, 14 Nov 2001 16:17:30 +0000 (+0000) Subject: fix a couple of misformats X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~866 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=098c4a15d4d6cd7f4fe48cf97967b83d20b1ce03;p=openldap fix a couple of misformats --- diff --git a/servers/slapd/back-bdb/add.c b/servers/slapd/back-bdb/add.c index c0469f78a8..0753f1611b 100644 --- a/servers/slapd/back-bdb/add.c +++ b/servers/slapd/back-bdb/add.c @@ -285,7 +285,7 @@ retry: rc = txn_abort( ltid ); text = "commit failed"; } else { Debug( LDAP_DEBUG_TRACE, - "bdb_add: added id=%08x dn=\"%s\"\n", + "bdb_add: added id=%08lx dn=\"%s\"\n", e->e_id, e->e_dn, 0 ); rc = LDAP_SUCCESS; text = NULL; diff --git a/servers/slapd/back-bdb/delete.c b/servers/slapd/back-bdb/delete.c index 4dff6517e7..8ce2072a93 100644 --- a/servers/slapd/back-bdb/delete.c +++ b/servers/slapd/back-bdb/delete.c @@ -295,7 +295,7 @@ retry: /* transaction retry */ } else { Debug( LDAP_DEBUG_TRACE, - "bdb_add: added id=%08x dn=\"%s\"\n", + "bdb_add: added id=%08lx dn=\"%s\"\n", e->e_id, e->e_dn, 0 ); rc = LDAP_SUCCESS; text = NULL; diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index 59d311a3aa..f1f0d1577c 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -275,7 +275,7 @@ bdb_idl_insert_key( /* for printable keys only */ Debug( LDAP_DEBUG_ARGS, "=> bdb_idl_insert_key: %s %ld\n", - key->data, (long) id, 0 ); + (char *)key->data, (long) id, 0 ); assert( id != NOID ); @@ -359,7 +359,7 @@ bdb_idl_delete_key( /* for printable keys only */ Debug( LDAP_DEBUG_ARGS, "=> bdb_idl_delete_key: %s %ld\n", - key->data, (long) id, 0 ); + (char *)key->data, (long) id, 0 ); assert( id != NOID ); diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 449c55b0da..66fc56816f 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -312,7 +312,7 @@ retry: /* transaction retry */ text = "commit failed"; } else { Debug( LDAP_DEBUG_TRACE, - "bdb_modify: updated id=%08x dn=\"%s\"\n", + "bdb_modify: updated id=%08lx dn=\"%s\"\n", e->e_id, e->e_dn, 0 ); rc = LDAP_SUCCESS; text = NULL; diff --git a/servers/slapd/back-bdb/modrdn.c b/servers/slapd/back-bdb/modrdn.c index bc183cb9fa..d90a27c3e3 100644 --- a/servers/slapd/back-bdb/modrdn.c +++ b/servers/slapd/back-bdb/modrdn.c @@ -536,7 +536,7 @@ retry: /* transaction retry */ text = "commit failed"; } else { Debug( LDAP_DEBUG_TRACE, - "bdb_modrdn: added id=%08x dn=\"%s\"\n", + "bdb_modrdn: added id=%08lx dn=\"%s\"\n", e->e_id, e->e_dn, 0 ); rc = LDAP_SUCCESS; text = NULL;