summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>2014-06-25 14:54:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-26 01:41:04 -0400
commitd6239dc4b0cf55a953d6c40890859b85d504ef19 (patch)
treef17acab21a0846dbbbb12ab3ab944a2401563a06
parent3cc765d2718ac9b4ff978044ceabf5ad59d73edf (diff)
core: use correct format string for UIDs
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 6981e722d9..8ee12ef8fa 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -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);
}