stat-util: trivial empty_or_null() tweaks
authorLennart Poettering <lennart@poettering.net>
Fri, 29 May 2020 15:46:40 +0000 (17:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 May 2020 19:23:43 +0000 (21:23 +0200)
commit29da419305e6cc3c660172e7edcd2f423dc1108b
tree08f635933b7dcc8da45367758909ea7270d8b7ac
parent8acb11a6a337601a6f307fb50d77b13ffa0b3c5e
stat-util: trivial empty_or_null() tweaks

To small tweaks: /dev/null is definitely a char device. And if we have
the path, to a string base comparison first.
src/basic/stat-util.c