1
0
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:
Michał Bartoszkiewicz 2014-06-25 14:54:48 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 3cc765d271
commit d6239dc4b0

View File

@ -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);
}