bug#43979: strerror return value
Philipp Klaus Krause <[email protected]> Tue, 13 Oct 2020 19:05:30 +0200
| Newsgroups | gmane.comp.gnu.parted.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is just a very minor issue. libparted contains some calls to strerror where the result is assigned to a char *. However, according to the strerror specification, the string returned by strerror should never be changed, so it would be better to use const char * instead. This affects one line each in libparted/arch/beos.c libparted/arch/linux.c Philipp