From a938e4616d62b020760e715902ee5edc0206498d Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 27 Feb 2021 14:48:12 +0000 Subject: [PATCH] Darwin : Update a disgnostic message [NFC]. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c index 1816c619511..b101fca5c96 100644 --- a/gcc/config/host-darwin.c +++ b/gcc/config/host-darwin.c @@ -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 % %m"); if (ret) {