# HG changeset patch # User Matti Hamalainen # Date 1582061267 -7200 # Node ID ebb4650f3cc138801f40a95bd28f1b9a9df959f9 # Parent 09082816665dabb43787ecd69dc16da651cf2116 Use printf() instead of dmPrint() for some things. diff -r 09082816665d -r ebb4650f3cc1 tools/fanalyze.c --- a/tools/fanalyze.c Fri Jan 31 21:48:45 2020 +0200 +++ b/tools/fanalyze.c Tue Feb 18 23:27:47 2020 +0200 @@ -711,7 +711,7 @@ for (int nfile = 0; nfile < nsrcFiles; nfile++) { DMSourceFile *file = &srcFiles[nfile]; - dmPrint(0, "\n%s\n", file->filename); + printf("\n%s\n", file->filename); for (int n = 0; n < nsetGrepValues; n++) { @@ -736,7 +736,7 @@ if (match) { - dmPrint(0, "%08" DM_PRIx_SIZE_T " : ", offs); + printf("%08" DM_PRIx_SIZE_T " : ", offs); dmPrintGrepValueList(node, TRUE, file, offs); } } @@ -949,7 +949,7 @@ // BOOL slow = FALSE; int ss = 0; - dmPrint(0, "Attempting to find matching sequences of %" DM_PRIu_SIZE_T " bytes or more.\n", + printf("Attempting to find matching sequences of %" DM_PRIu_SIZE_T " bytes or more.\n", optMinMatchLen); if (totalSize > 32*1024)