bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43979: strerror return value


From: Philipp Klaus Krause
Subject: bug#43979: strerror return value
Date: Tue, 13 Oct 2020 19:05:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]