From 91c87648a72d8e6176298a632344313b61683b90 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Tue, 5 May 2026 15:27:44 -0700 Subject: [PATCH] [2.4.2-only] GCC: Fix uu_ident.c strchr() Convert 'char *' to 'const char *' to make GCC happy on Fedora 44. Signed-off-by: Tony Hutter --- lib/libuutil/uu_ident.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libuutil/uu_ident.c b/lib/libuutil/uu_ident.c index 87fde4d98..f0a234c4f 100644 --- a/lib/libuutil/uu_ident.c +++ b/lib/libuutil/uu_ident.c @@ -76,7 +76,7 @@ is_valid_ident(const char *s, const char *e, int allowdot) static int is_valid_component(const char *b, const char *e, uint_t flags) { - char *sp; + const char *sp; if (flags & UU_NAME_DOMAIN) { sp = strchr(b, ',');