]> andersk Git - splint.git/blobdiff - src/flags.c
- library fixes:
[splint.git] / src / flags.c
index 1931cba95ed7b17ff7e387246e4e002bca6ac8c0..9f97ef1a67cb29c456996b48889dcfcf4890d9f3 100644 (file)
@@ -300,7 +300,7 @@ summarizeErrors ()
              hadOne = TRUE;
            }
 
-         sprintf (buf, "%s%7d   %9d", cstring_toCharsSafe (fs), nrep, nsup);
+         (void) snprintf (buf, 128, "%s%7d   %9d", cstring_toCharsSafe (fs), nrep, nsup);
 
          sumrep += nrep;
          sumsup += nsup;
@@ -316,7 +316,7 @@ summarizeErrors ()
 
       llmsglit ("                          ========  =========");
 
-      sprintf (buf, "%s%7d   %9d", cstring_toCharsSafe (ts), sumrep, sumsup);
+      (void) snprintf (buf, 128, "%s%7d   %9d", cstring_toCharsSafe (ts), sumrep, sumsup);
       cstring_free (ts);
       llmsgplain (cstring_copy (cstring_fromChars (buf)));
     }
This page took 0.345898 seconds and 4 git commands to generate.