]> git.ipfire.org Git - thirdparty/systemd.git/commit
fs-util: let's avoid unnecessary strerror()
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Nov 2019 10:43:34 +0000 (11:43 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 3 Nov 2019 13:04:39 +0000 (22:04 +0900)
commitfe573a798da7924aca78eaa8e76a462686071335
treed521d1ad9d3d76804accd3ed2659ea58863b3783
parent857403952075508d45e7996f4445a2140e158409
fs-util: let's avoid unnecessary strerror()

strerror() is not thread safe. Let's avoid it where it is easy hence.

(Ideally we'd not use it at all anymore, but that's sometimes a bit
nasty, not in this case though, where it is very easy to avoid)

Follow-up for: 27c3112dcbd1b5f171c36c32550d9c6331375b0b
src/basic/fs-util.c