diff mbox series

Fix -Wformat-diag for s390x-ibm-tpf.

Message ID 628c5bdf-f9ff-c845-4681-429425c2ccf4@suse.cz
State New
Headers show
Series Fix -Wformat-diag for s390x-ibm-tpf. | expand

Commit Message

Martin Liška Jan. 12, 2022, 1:08 p.m. UTC
This one is related to s390x-ibm-tpf -Wformat-diag warnings.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

	* config/s390/s390.c: Fix -Wformat-diag warnings.
---
  gcc/config/s390/s390.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index bf96cbf7588..968672bb42b 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -15606,16 +15606,16 @@  s390_option_override_internal (struct gcc_options *opts,
  
  #if TARGET_TPF != 0
    if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_check))
-    error ("-mtpf-trace-hook-prologue-check requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-prologue-check%> requires integer in range 0-4095");
  
    if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_target))
-    error ("-mtpf-trace-hook-prologue-target requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-prologue-target%> requires integer in range 0-4095");
  
    if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_check))
-    error ("-mtpf-trace-hook-epilogue-check requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-epilogue-check%> requires integer in range 0-4095");
  
    if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_target))
-    error ("-mtpf-trace-hook-epilogue-target requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-epilogue-target%> requires integer in range 0-4095");
  
    if (s390_tpf_trace_skip)
      {