changeset 2429:ebb4650f3cc1

Use printf() instead of dmPrint() for some things.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Feb 2020 23:27:47 +0200
parents 09082816665d
children 190f5caaf1a8
files tools/fanalyze.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)