From: Pierangelo Masarati Date: Sun, 15 Oct 2006 18:01:27 +0000 (+0000) Subject: fix format; silence warning X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0be820648262577a599a1a5ab62a96019c96a9a;p=openldap fix format; silence warning --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index d0d3edd131..9e44314f69 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2489,7 +2489,7 @@ loglevel_print( FILE *out ) fprintf( out, "Installed log subsystems:\n\n" ); for ( i = 0; !BER_BVISNULL( &loglevel_ops[ i ].word ); i++ ) { - fprintf( out, "\t%-30s (%d)\n", + fprintf( out, "\t%-30s (%lu)\n", loglevel_ops[ i ].word.bv_val, loglevel_ops[ i ].mask ); } @@ -2640,7 +2640,7 @@ config_security(ConfigArgs *c) { } for(i = 1; i < c->argc; i++) { slap_ssf_t *tgt = NULL; - char *src; + char *src = NULL; for ( j=0; !BER_BVISNULL( &sec_keys[j].key ); j++ ) { if(!strncasecmp(c->argv[i], sec_keys[j].key.bv_val, sec_keys[j].key.bv_len)) {