aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-09-11 21:34:14 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-09-11 21:34:14 +0000
commit3d80fcaa4a258cb030dca0f1b92ef1b03b06c850 (patch)
tree60fbdc13bbd19926cf862396fcfc79226e86c2a1 /gcc/gcc.c
parent1f621085b8098b65ddedc379a03ce70e4ff0a7df (diff)
downloadgcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.zip
gcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.tar.gz
gcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.tar.bz2
* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
From-SVN: r264217
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7532a2e..8be82ea 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2102,7 +2102,7 @@ load_specs (const char *filename)
{
failed:
/* This leaves DESC open, but the OS will save us. */
- fatal_error (input_location, "cannot read spec file '%s': %m", filename);
+ fatal_error (input_location, "cannot read spec file %qs: %m", filename);
}
if (stat (filename, &statbuf) < 0)
@@ -3174,8 +3174,8 @@ execute (void)
{
errno = err;
fatal_error (input_location,
- err ? G_("cannot execute '%s' %s: %m")
- : G_("cannot execute '%s' %s"),
+ err ? G_("cannot execute %qs: %s: %m")
+ : G_("cannot execute %qs: %s"),
string, errmsg);
}
@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp,
{
errno = err;
fatal_error (input_location,
- err ? G_ ("cannot execute '%s' %s: %m")
- : G_ ("cannot execute '%s' %s"),
+ err ? G_ ("cannot execute %qs: %s: %m")
+ : G_ ("cannot execute %qs: %s"),
new_argv[0], errmsg);
}