diff options
| author | Karel Zak <kzak@redhat.com> | 2025-11-27 16:50:19 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-11-27 16:50:19 +0100 |
| commit | cc1f2ac99b99eede36a58cf115a56bdfbc977e52 (patch) | |
| tree | 5fe0fb7ac1f936fb25b3fd39c8350a4a92e356b2 /sys-utils/lscpu.c | |
| parent | 4c94ce5d05d97420df7a512bbbaee8c4017414ae (diff) | |
| download | util-linux-master.tar.gz | |
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
