mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
core: use correct format string for UIDs
This commit is contained in:
parent
3cc765d271
commit
d6239dc4b0
@ -1548,7 +1548,7 @@ int main(int argc, char *argv[]) {
|
||||
log_info("Running with unpopulated /etc.");
|
||||
} else {
|
||||
_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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user