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:
0316f2a
)
core: dump rlim_cur too
author
Evgeny Vereshchagin
<evvers@ya.ru>
Fri, 27 Nov 2015 09:13:35 +0000
(09:13 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Fri, 27 Nov 2015 11:26:55 +0000
(11:26 +0000)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index
07979bf
..
677480c
100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-2414,8
+2414,8
@@
void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
for (i = 0; i < RLIM_NLIMITS; i++)
if (c->rlimit[i])
- fprintf(f, "%s%s: "
RLIM_FMT
"\n",
- prefix, rlimit_to_string(i), c->rlimit[i]->rlim_max);
+ fprintf(f, "%s%s: "
RLIM_FMT " " RLIM_FMT
"\n",
+ prefix, rlimit_to_string(i), c->rlimit[i]->rlim_
cur, c->rlimit[i]->rlim_
max);
if (c->ioprio_set) {
_cleanup_free_ char *class_str = NULL;