fs-util: use strna() on returned strings of fd_get_path() if we don't check its retur...
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Sep 2020 16:18:03 +0000 (18:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Sep 2020 16:20:38 +0000 (18:20 +0200)
commit48d837cd92c4b3452adace8db59383273bc5a65d
treef925354de248bbbaf66b760ab7a513a6be2e68bd
parent8fe8f3aabad344b2a237f4ec022516fd835031c4
fs-util: use strna() on returned strings of fd_get_path() if we don't check its return value

Let's make sure to use strna() on the strings returned by fd_get_path()
where we knowingly ignore any failures. We got this right in most cases,
but two were missing.
src/basic/fs-util.c