git: 8ee3da8e738b - stable/14 - rtld: 1-bit for bool is enough

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 00:43:05 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=8ee3da8e738beea9f071dc068d99effbe4d3935e

commit 8ee3da8e738beea9f071dc068d99effbe4d3935e
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-31 19:11:02 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-14 00:42:17 +0000

    rtld: 1-bit for bool is enough
    
    (cherry picked from commit 450e684e0fea2785b5770241f51e897070c86726)
---
 libexec/rtld-elf/rtld.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index e7fcfde8f474..9e0c3b92848e 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -347,7 +347,7 @@ ld_utrace_log(int event, void *handle, void *mapbase, size_t mapsize,
 struct ld_env_var_desc {
 	const char * const n;
 	const char *val;
-	const bool unsecure;
+	const bool unsecure:1;
 };
 #define LD_ENV_DESC(var, unsec) \
     [LD_##var] = { .n = #var, .unsecure = unsec }