Commit 185fbdaf authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Ulrich Sibiller

Loop.cpp: Fix output of SetCore()

parent d238db34
...@@ -10201,7 +10201,7 @@ int SetCore() ...@@ -10201,7 +10201,7 @@ int SetCore()
if (getrlimit(RLIMIT_CORE, &rlim)) if (getrlimit(RLIMIT_CORE, &rlim))
{ {
#ifdef TEST #ifdef TEST
*logofs << "Cannot read RLIMIT_CORE. Error is '" *logofs << "Loop: Cannot read RLIMIT_CORE. Error is '"
<< ESTR() << "'.\n" << logofs_flush; << ESTR() << "'.\n" << logofs_flush;
#endif #endif
...@@ -10215,7 +10215,7 @@ int SetCore() ...@@ -10215,7 +10215,7 @@ int SetCore()
if (setrlimit(RLIMIT_CORE, &rlim)) if (setrlimit(RLIMIT_CORE, &rlim))
{ {
#ifdef TEST #ifdef TEST
*logofs << "Loop: Cannot read RLIMIT_CORE. Error is '" *logofs << "Loop: Cannot set RLIMIT_CORE. Error is '"
<< ESTR() << "'.\n" << logofs_flush; << ESTR() << "'.\n" << logofs_flush;
#endif #endif
...@@ -10224,7 +10224,7 @@ int SetCore() ...@@ -10224,7 +10224,7 @@ int SetCore()
} }
#ifdef TEST #ifdef TEST
*logofs << "Loop: Set RLIMIT_CORE to "<< rlim.rlim_max *logofs << "Loop: RLIMIT_CORE is "<< rlim.rlim_max
<< ".\n" << logofs_flush; << ".\n" << logofs_flush;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment