projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc765d
)
core: use correct format string for UIDs
author
Michał Bartoszkiewicz
<mbartoszkiewicz@gmail.com>
Wed, 25 Jun 2014 12:54:48 +0000
(14:54 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 26 Jun 2014 05:41:04 +0000
(
01:41
-0400)
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index
6981e72
..
8ee12ef
100644
(file)
--- 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 "
P
ID_FMT"/%s. (" SYSTEMD_FEATURES ")",
+ log_debug(PACKAGE_STRING " running in user mode for user "
U
ID_FMT"/%s. (" SYSTEMD_FEATURES ")",
getuid(), t);
}