mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
[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 <hutter2@llnl.gov>
This commit is contained in:
@@ -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, ',');
|
||||
|
||||
Reference in New Issue
Block a user