mirror of
https://github.com/systemd/systemd.git
synced 2025-07-01 20:59:25 +03:00
core: use correct format string for UIDs
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
3cc765d271
commit
d6239dc4b0
@ -1548,7 +1548,7 @@ int main(int argc, char *argv[]) {
|
|||||||
log_info("Running with unpopulated /etc.");
|
log_info("Running with unpopulated /etc.");
|
||||||
} else {
|
} else {
|
||||||
_cleanup_free_ char *t = uid_to_name(getuid());
|
_cleanup_free_ char *t = uid_to_name(getuid());
|
||||||
log_debug(PACKAGE_STRING " running in user mode for user "PID_FMT"/%s. (" SYSTEMD_FEATURES ")",
|
log_debug(PACKAGE_STRING " running in user mode for user "UID_FMT"/%s. (" SYSTEMD_FEATURES ")",
|
||||||
getuid(), t);
|
getuid(), t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user