hibernate-resume: use devnode_same to compare device nodes
authorMike Yuan <me@yhndnzj.com>
Mon, 10 Jul 2023 13:04:49 +0000 (21:04 +0800)
committerMike Yuan <me@yhndnzj.com>
Tue, 11 Jul 2023 10:04:22 +0000 (18:04 +0800)
commit028192768672fed98df55b9a53b521f9badcfb51
tree4eb75497ee7ef2a3f4bfc7953cd08d35caf23116
parent2d5c53fc34411fa118b2b8824fab2497ec5984c8
hibernate-resume: use devnode_same to compare device nodes

Addresses https://github.com/systemd/systemd/pull/28321#discussion_r1257866179

When devnode_same() fails we only debug log about it, because
the device nodes might not have appeared by the time the generator
is run.

Fixes #28340
src/hibernate-resume/hibernate-resume-generator.c