From 4c3a2b84d836af3b52cb2e7c6593e2b4d0646823 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 10 Aug 2018 13:03:02 +0900 Subject: [PATCH] core/execute: fix dump format for Limit*= Fixes #9846. --- src/core/execute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/execute.c b/src/core/execute.c index ecf0f7c..67f6dbd 100644 --- 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); } -- 2.7.4