added function name in log
This commit is contained in:
parent
3de517dec3
commit
94198e6a25
2
main.c
2
main.c
@ -90,7 +90,7 @@ int printlog(char str[], int level, int errnum)
|
|||||||
{
|
{
|
||||||
if( strcmp(fn_tmp, fn) != 0 )
|
if( strcmp(fn_tmp, fn) != 0 )
|
||||||
{
|
{
|
||||||
fprintf(fh, "***************** %s ******************", fn);
|
fprintf(fh, "\n---------- function %s ----------\n", fn);
|
||||||
strcpy(fn_tmp, fn);
|
strcpy(fn_tmp, fn);
|
||||||
}
|
}
|
||||||
fprintf(fh, "%s", tmp);
|
fprintf(fh, "%s", tmp);
|
||||||
|
Reference in New Issue
Block a user