[Libreoffice-commits] online.git: common/Seccomp.cpp

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


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

New commits:
commit e015c83957f1134b5f5ead69ac6854fb926f75f5
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>
    (cherry picked from commit 8f9cff124763285e0bb7cc98d96770b98367eafb)
    Reviewed-on: https://gerrit.libreoffice.org/43034

diff --git a/common/Seccomp.cpp b/common/Seccomp.cpp
index 169f2959..ac57d071 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.");


More information about the Libreoffice-commits mailing list