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:
8595102
)
core/execute: fix dump format for Limit*=
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 10 Aug 2018 04:03:02 +0000
(13:03 +0900)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 10 Aug 2018 09:59:16 +0000
(11:59 +0200)
Fixes #9846.
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index
ecf0f7c
..
67f6dbd
100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-4075,9
+4075,9
@@
void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) {
for (i = 0; i < RLIM_NLIMITS; i++)
if (c->rlimit[i]) {
- fprintf(f, "
Limit%s
%s: " RLIM_FMT "\n",
+ fprintf(f, "
%sLimit
%s: " RLIM_FMT "\n",
prefix, rlimit_to_string(i), c->rlimit[i]->rlim_max);
- fprintf(f, "
Limit%s
%sSoft: " RLIM_FMT "\n",
+ fprintf(f, "
%sLimit
%sSoft: " RLIM_FMT "\n",
prefix, rlimit_to_string(i), c->rlimit[i]->rlim_cur);
}