git: 5db5c82fa603 - main - arm: Quote diagnostic message

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 25 Aug 2026 14:58:40 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=5db5c82fa603744e3fc6a0807d5ccd5991e11d0b

commit 5db5c82fa603744e3fc6a0807d5ccd5991e11d0b
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-08-25 14:56:05 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-08-25 14:57:45 +0000

    arm: Quote diagnostic message
    
    The C standard does not require diagnostic messages to be quoted, but
    some tools get confused by unbalanced quotes such as the apostrophe in
    “don't”.  Wrap this message in double quotes to resolve the confusion.
    
    Sponsored by:   Klara, Inc.
    Sponsored by:   NetApp, Inc.
---
 sys/arm/arm/machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index 989adef3478d..b44ba5353414 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -101,7 +101,7 @@
 #if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \
     defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7) || \
     defined(COMPAT_FREEBSD9)
-#error FreeBSD/arm doesn't provide compatibility with releases prior to 10
+#error "FreeBSD/arm doesn't provide compatibility with releases prior to 10"
 #endif