gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning message.
authorMartin Sebor <msebor@redhat.com>
Mon, 16 Jan 2017 17:08:42 +0000 (17:08 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 16 Jan 2017 17:08:42 +0000 (10:08 -0700)
gcc/ChangeLog:
* gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning
message.

From-SVN: r244500

gcc/ChangeLog
gcc/gimple-ssa-sprintf.c

index 7520de8..9c33999 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-16  Martin Sebor  <msebor@redhat.com>
+
+       * gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning
+       message.
+
 2017-01-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        * config/rs6000/rs6000.c (rtx_is_swappable_p): Change
index e6a6a80..262857c 100644 (file)
@@ -2049,7 +2049,8 @@ format_directive (const pass_sprintf_length::call_info &info,
                  const char* fmtstr
                    = (info.bounded
                       ? G_("%<%.*s%> directive output may be truncated "
-                           "writing %wu or more bytes a region of size %wu")
+                           "writing %wu or more bytes into a region "
+                           "of size %wu")
                       : G_("%<%.*s%> directive writing %wu or more bytes "
                            "into a region of size %wu"));
                  warned = fmtwarn (dirloc, pargrange, NULL,