summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-10-02 10:52:06 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2017-10-02 10:55:27 +0200
commite015c83957f1134b5f5ead69ac6854fb926f75f5 (patch)
treeff947ec88576c79003e127b175da2bdebb04d1e0 /common
parentloleaflet: updated UI pot file (diff)
downloadonline-e015c83957f1134b5f5ead69ac6854fb926f75f5.tar.gz
online-e015c83957f1134b5f5ead69ac6854fb926f75f5.zip
fixed wrong logging text
Change-Id: Ife3bdf05e15a9f11227c37eec6af0719cd8b2e5a Reviewed-on: https://gerrit.libreoffice.org/43033 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com> (cherry picked from commit 8f9cff124763285e0bb7cc98d96770b98367eafb) Reviewed-on: https://gerrit.libreoffice.org/43034
Diffstat (limited to 'common')
-rw-r--r--common/Seccomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Seccomp.cpp b/common/Seccomp.cpp
index 169f295969..ac57d07143 100644
--- a/common/Seccomp.cpp
+++ b/common/Seccomp.cpp
@@ -274,7 +274,7 @@ bool handleSetrlimitCommand(const std::vector<std::string>& tokens)
rlimit rlim = { lim, lim };
if (setrlimit(RLIMIT_FSIZE, &rlim) != 0)
- LOG_SYS("Failed to set RLIMIT_NOFILE to " << lim << " bytes.");
+ LOG_SYS("Failed to set RLIMIT_FSIZE to " << lim << " bytes.");
if (getrlimit(RLIMIT_FSIZE, &rlim) == 0)
LOG_INF("RLIMIT_FSIZE is " << rlim.rlim_max << " bytes after setting it to " << lim << " bytes.");