aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2025-11-27 16:50:19 +0100
committerKarel Zak <kzak@redhat.com>2025-11-27 16:50:19 +0100
commitcc1f2ac99b99eede36a58cf115a56bdfbc977e52 (patch)
tree5fe0fb7ac1f936fb25b3fd39c8350a4a92e356b2 /sys-utils/lscpu.c
parent4c94ce5d05d97420df7a512bbbaee8c4017414ae (diff)
downloadutil-linux-master.tar.gz
eject: fix const qualifier warning in read_speedHEADmaster
Fix const qualifier discarded warning in read_speed(). This warning is reported by gcc 15 which defaults to the C23 standard. The strrchr() function returns a pointer into a const string, so the receiving variable must be declared as const char *. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.c')
0 files changed, 0 insertions, 0 deletions