[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - common/Seccomp.cpp

Marco Cecchetti marco.cecchetti at collabora.com
Mon Oct 2 08:55:21 UTC 2017


 common/Seccomp.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8f9cff124763285e0bb7cc98d96770b98367eafb
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Mon Oct 2 10:52:06 2017 +0200

    fixed wrong logging text
    
    Change-Id: Ife3bdf05e15a9f11227c37eec6af0719cd8b2e5a
    Reviewed-on: https://gerrit.libreoffice.org/43033
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
    Tested-by: Marco Cecchetti <mrcekets at gmail.com>

diff --git a/common/Seccomp.cpp b/common/Seccomp.cpp
index 8eebdb12..e46d2eb8 100644
--- a/common/Seccomp.cpp
+++ b/common/Seccomp.cpp
@@ -270,7 +270,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.");


More information about the Libreoffice-commits mailing list