Hi

I modified the diagnostic message to avoid a  build-time warning
omitting a colon intentionally; since that has produced a translation
comment, this adds the colon back.

tested with a build of host-darwin (produces no build-time diagnostic).
pushed to master,
thanks
Iain

----

Add a ':' to make the diagnostic read 'pch_address_space': xxx.

gcc/ChangeLog:

        PR target/99733
        * config/host-darwin.c (darwin_gt_pch_use_address): Add a
        colon to the diagnostic message.
---
 gcc/config/host-darwin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c
index b101fca5c96..14a01fe71f2 100644
--- a/gcc/config/host-darwin.c
+++ b/gcc/config/host-darwin.c
@@ -62,7 +62,7 @@ darwin_gt_pch_use_address (void *addr, size_t sz, int fd, 
size_t off)
 
   if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0)
     fatal_error (input_location,
-                "could not unmap %<pch_address_space%> %m");
+                "could not unmap %<pch_address_space%>: %m");
 
   if (ret)
     {
-- 
2.24.1


Reply via email to