aboutsummaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2025-11-27 15:41:21 +0100
committerKarel Zak <kzak@redhat.com>2025-11-27 15:41:21 +0100
commitdbe4c16973d5d0f69ba3bf1bd8942a51de9a0933 (patch)
treeb1d34de5fab99139d0036f755b572261b007dfbd /libmount/src
parent72b3231a306c003e4a856df54240c32f8b8eb793 (diff)
downloadutil-linux-dbe4c16973d5d0f69ba3bf1bd8942a51de9a0933.tar.gz
lsns: fix const qualifier warnings for C23
Fix const qualifier discarded warnings in read_persistent_namespaces() and is_path_included() functions. These warnings are reported by gcc 15 which defaults to the C23 standard. The strchr() and strstr() functions return pointers into const strings, so the receiving variables must be declared as const char *. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src')
0 files changed, 0 insertions, 0 deletions