sd-device: improve log message and tweak style
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Apr 2021 09:54:17 +0000 (05:54 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 May 2021 17:32:55 +0000 (19:32 +0200)
commit645c85022ac6c035ccdd0590db687c5be1147e85
tree51396f5c4ded9983b36d85980cb1d5fba59d1256
parentbed66a8d19566adf94386482fe5ee0216b66f848
sd-device: improve log message and tweak style

We shouldn't say the attribute is missing right after ruling out ENOENT.

(cherry picked from commit aca591ac55e5ee364905aec975388c5e30d0476c)
(cherry picked from commit e31914aa17df889ae10f0964a8bbc8c00e0f045b)
src/libsystemd/sd-device/sd-device.c