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 7520de88a3ca05a8c5452cfadbbd65de7c3f20f6..9c33999911ac8fd0963413e4fd597eb64014f5f4 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 e6a6a80c27b4cb61f57aba392aaec3300fd85359..262857c64ded53ff7b5c3ccc076ebdb1bb2b1681 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,