diff mbox series

[pushed] Darwin : Address a translation comment.

Message ID 9D0679BC-05C3-4FE6-85FE-3C90D8C0A5B4@sandoe.co.uk
State New
Headers show
Series [pushed] Darwin : Address a translation comment. | expand

Commit Message

Iain Sandoe March 23, 2021, 8:08 p.m. UTC
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 mbox series

Patch

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)
     {