Debug info before opening log and debug files - fixes3

master
Alexey Khromov 2 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 )
{
#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);
#endif
return -1;
@ -328,7 +328,7 @@ int conf_readconf(const char *confname, int inclevel)
else
{
#ifdef DEBUG
fprintf(stderr, ("BF-DEBUG: unknown directive `%s'", p_key);
fprintf(stderr, "BF-DEBUG: unknown directive `%s'", p_key);
#endif
rc = PROC_RC_IGNORE;
}
@ -407,7 +407,7 @@ int conf_readconf(const char *confname, int inclevel)
free(ifexpr);
#ifdef DEBUG
printf(stderr, "BF-DEBUG: readconfig: exit with maxrc = %d", maxrc);
fprintf(stderr, "BF-DEBUG: readconfig: exit with maxrc = %d", maxrc);
#endif
/* update subsystems */

Loading…
Cancel
Save