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

New commits:
commit 8f9cff124763285e0bb7cc98d96770b98367eafb
Author: Marco Cecchetti <[email protected]>
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 <[email protected]>
    Tested-by: Marco Cecchetti <[email protected]>

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.");
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to