Darwin : Update a disgnostic message [NFC].
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 27 Feb 2021 14:48:12 +0000 (14:48 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 27 Feb 2021 16:31:54 +0000 (16:31 +0000)
The avoids a contraction and a format diagnostic warning.

gcc/ChangeLog:

* config/host-darwin.c (darwin_gt_pch_use_address): Modify
diagnostic message to avoid use of a contraction and format
warning.

gcc/config/host-darwin.c

index 1816c61..b101fca 100644 (file)
@@ -61,7 +61,8 @@ darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off)
   sz = (sz + pagesize - 1) / pagesize * pagesize;
 
   if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0)
-    fatal_error (input_location, "couldn%'t unmap pch_address_space: %m");
+    fatal_error (input_location,
+                "could not unmap %<pch_address_space%> %m");
 
   if (ret)
     {