]> git.ipfire.org Git - thirdparty/systemd.git/commit
utmp-wtmp: replace _PATH_WTMPX -> WTMPX_FILE
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 8 Jun 2025 20:11:01 +0000 (05:11 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Jun 2025 13:45:23 +0000 (22:45 +0900)
commite11f01b78a6cb9f826d5fa2aafe58d55eb3da511
treeacf63e774434faac73789ab93f55bc95c3b4720a
parentafcb6d671bcc53fffb5f90b1fc843c1aef4d37ba
utmp-wtmp: replace _PATH_WTMPX -> WTMPX_FILE

_PATH_WTMPX is a kind of internal definition in glibc, and
WTMPX_FILE should be an exposed definition. Both are same,
let's use WTMPX_FILE.
Note, for utmp, we use UTMPX_FILE, rather than _PATH_UTMPX.
Let's use consistent macros.
src/shared/utmp-wtmp.c