diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2013-12-20 20:57:13 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2013-12-20 20:57:13 +0000 |
commit | 5c3c61083520ec19b5791288f29e7de17ff8560e (patch) | |
tree | 43075d5e8f93d9eaed3af81d99fc75080a46a23b /contrib/gcc/c-incpath.c | |
parent | ac4030b7e1d0acd7628d8f3b6b0f72de89dad67c (diff) |
gcc: clean some warnings from -Wformat-security
Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921)
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=259666
Diffstat (limited to 'contrib/gcc/c-incpath.c')
-rw-r--r-- | contrib/gcc/c-incpath.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gcc/c-incpath.c b/contrib/gcc/c-incpath.c index 0e534dd23378..55025ff6ecda 100644 --- a/contrib/gcc/c-incpath.c +++ b/contrib/gcc/c-incpath.c @@ -72,7 +72,7 @@ free_path (struct cpp_dir *path, int reason) case REASON_DUP_SYS: fprintf (stderr, _("ignoring duplicate directory \"%s\"\n"), path->name); if (reason == REASON_DUP_SYS) - fprintf (stderr, + fprintf (stderr, "%s", _(" as it is a non-system directory that duplicates a system directory\n")); break; @@ -292,16 +292,16 @@ merge_include_chains (cpp_reader *pfile, int verbose) { struct cpp_dir *p; - fprintf (stderr, _("#include \"...\" search starts here:\n")); + fprintf (stderr, "%s", _("#include \"...\" search starts here:\n")); for (p = heads[QUOTE];; p = p->next) { if (p == heads[BRACKET]) - fprintf (stderr, _("#include <...> search starts here:\n")); + fprintf (stderr, "%s", _("#include <...> search starts here:\n")); if (!p) break; fprintf (stderr, " %s\n", p->name); } - fprintf (stderr, _("End of search list.\n")); + fprintf (stderr, "%s", _("End of search list.\n")); } } |