Bug 112803 - Wrong logging text in common/Seccomp.cpp
Summary: Wrong logging text in common/Seccomp.cpp
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://gerrit.libreoffice.org/#/c/42...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 20:24 UTC by lool-bugreport
Modified: 2017-10-02 08:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lool-bugreport 2017-10-01 20:24:26 UTC
https://gerrit.libreoffice.org/#/c/42811/2/common/Seccomp.cpp

has:

if (setrlimit(RLIMIT_FSIZE, &rlim) != 0)
  LOG_SYS("Failed to set RLIMIT_NOFILE to " << lim << " bytes.");

the LOG_SYS probably should be RLIMIT_FSIZE instead of RLIMIT_NOFILE
Comment 1 Xisco Faulí 2017-10-01 21:53:11 UTC
@Marco, @Kendy,
Could you comment here?
Comment 2 Marco Cecchetti 2017-10-02 08:58:23 UTC
Thanks for catching this typo!

I just pushed a fix:

https://gerrit.libreoffice.org/#/c/43034/