core/device: store the original path
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 29 Apr 2022 17:35:16 +0000 (02:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 5 Aug 2022 13:13:47 +0000 (22:13 +0900)
commit367a2597c35140fb325e2f94235961257130dfe1
treeb11ba366c20188a3c9635166df115fd34cd07e82
parent7870de03c52982290f9b8ae11eb4d89db66f4be3
core/device: store the original path

The unit name may be hashed. Hence, we cannot obtain the original path
from the unit name.

The path will be used in the later commits.
src/core/device.c
src/core/device.h