Debug info before opening log and debug files - fixes3

master
Alexey Khromov 7 months ago
parent 6547b13983
commit c766c4a9f7

@ -159,7 +159,7 @@ int conf_readconf(const char *confname, int inclevel)
if( i != (int)bforce_config[i].real_key ) if( i != (int)bforce_config[i].real_key )
{ {
#ifdef DEBUG #ifdef DEBUG
printf(stderr,"BF-DEBUG: invalid config table: found %d instead of %d", fprintf(stderr,"BF-DEBUG: invalid config table: found %d instead of %d",
bforce_config[i].real_key, i); bforce_config[i].real_key, i);
#endif #endif
return -1; return -1;
@ -328,7 +328,7 @@ int conf_readconf(const char *confname, int inclevel)
else else
{ {
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, ("BF-DEBUG: unknown directive `%s'", p_key); fprintf(stderr, "BF-DEBUG: unknown directive `%s'", p_key);
#endif #endif
rc = PROC_RC_IGNORE; rc = PROC_RC_IGNORE;
} }
@ -407,7 +407,7 @@ int conf_readconf(const char *confname, int inclevel)
free(ifexpr); free(ifexpr);
#ifdef DEBUG #ifdef DEBUG
printf(stderr, "BF-DEBUG: readconfig: exit with maxrc = %d", maxrc); fprintf(stderr, "BF-DEBUG: readconfig: exit with maxrc = %d", maxrc);
#endif #endif
/* update subsystems */ /* update subsystems */

Loading…
Cancel
Save