Author: pfg
Date: Sat Dec 21 19:53:51 2013
New Revision: 259696
URL: http://svnweb.freebsd.org/changeset/base/259696

Log:
  gcc: warnings from -Wformat-security
  
  Minor mismatch in r259666.
  
  Obtained from:        Apple GCC 4.2 - 5646 (Radar 5764921)
  MFC after:    1 week

Modified:
  head/contrib/gcc/gcov.c

Modified: head/contrib/gcc/gcov.c
==============================================================================
--- head/contrib/gcc/gcov.c     Sat Dec 21 19:29:08 2013        (r259695)
+++ head/contrib/gcc/gcov.c     Sat Dec 21 19:53:51 2013        (r259696)
@@ -414,10 +414,10 @@ print_usage (int error_p)
 static void
 print_version (void)
 {
-  fnotice (stdout, "%s", "gcov (GCC) %s\n", version_string);
+  fnotice (stdout, "gcov (GCC) %s\n", version_string);
   fprintf (stdout, "Copyright %s 2006 Free Software Foundation, Inc.\n",
           _("(C)"));
-  fnotice (stdout,
+  fnotice (stdout, "%s",
           _("This is free software; see the source for copying conditions.\n"
             "There is NO warranty; not even for MERCHANTABILITY or \n"
             "FITNESS FOR A PARTICULAR PURPOSE.\n\n"));
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to