From c0be820648262577a599a1a5ab62a96019c96a9a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 15 Oct 2006 18:01:27 +0000 Subject: [PATCH] fix format; silence warning --- servers/slapd/bconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.39.5