From: Iain Sandoe Date: Sat, 27 Feb 2021 14:48:12 +0000 (+0000) Subject: Darwin : Update a disgnostic message [NFC]. X-Git-Tag: basepoints/gcc-12~828 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a938e4616d62b020760e715902ee5edc0206498d;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c index 1816c6195115..b101fca5c968 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) {