Commit 3d80fcaa by Nathan Sidwell Committed by Nathan Sidwell

* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.

From-SVN: r264217
parent 1f621085
2018-09-11 Nathan Sidwell <nathan@acm.org>
* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
2018-09-11 Uros Bizjak <ubizjak@gmail.com> 2018-09-11 Uros Bizjak <ubizjak@gmail.com>
* reg-stack.c (subst_asm_stack_regs): Call replace_reg also * reg-stack.c (subst_asm_stack_regs): Call replace_reg also
......
...@@ -2102,7 +2102,7 @@ load_specs (const char *filename) ...@@ -2102,7 +2102,7 @@ load_specs (const char *filename)
{ {
failed: failed:
/* This leaves DESC open, but the OS will save us. */ /* 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) if (stat (filename, &statbuf) < 0)
...@@ -3174,8 +3174,8 @@ execute (void) ...@@ -3174,8 +3174,8 @@ execute (void)
{ {
errno = err; errno = err;
fatal_error (input_location, fatal_error (input_location,
err ? G_("cannot execute '%s' %s: %m") err ? G_("cannot execute %qs: %s: %m")
: G_("cannot execute '%s' %s"), : G_("cannot execute %qs: %s"),
string, errmsg); string, errmsg);
} }
...@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp, ...@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp,
{ {
errno = err; errno = err;
fatal_error (input_location, fatal_error (input_location,
err ? G_ ("cannot execute '%s' %s: %m") err ? G_ ("cannot execute %qs: %s: %m")
: G_ ("cannot execute '%s' %s"), : G_ ("cannot execute %qs: %s"),
new_argv[0], errmsg); new_argv[0], errmsg);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment