From 185fbdaf97def90b203d09868d6e30dd761c68fe Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sat, 15 Oct 2016 23:01:59 +0200 Subject: Loop.cpp: Fix output of SetCore() --- nxcomp/Loop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nxcomp') diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp index 7e77bc2a9..46031e70d 100644 --- a/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp @@ -10201,7 +10201,7 @@ int SetCore() if (getrlimit(RLIMIT_CORE, &rlim)) { #ifdef TEST - *logofs << "Cannot read RLIMIT_CORE. Error is '" + *logofs << "Loop: Cannot read RLIMIT_CORE. Error is '" << ESTR() << "'.\n" << logofs_flush; #endif @@ -10215,7 +10215,7 @@ int SetCore() if (setrlimit(RLIMIT_CORE, &rlim)) { #ifdef TEST - *logofs << "Loop: Cannot read RLIMIT_CORE. Error is '" + *logofs << "Loop: Cannot set RLIMIT_CORE. Error is '" << ESTR() << "'.\n" << logofs_flush; #endif @@ -10224,7 +10224,7 @@ int SetCore() } #ifdef TEST - *logofs << "Loop: Set RLIMIT_CORE to "<< rlim.rlim_max + *logofs << "Loop: RLIMIT_CORE is "<< rlim.rlim_max << ".\n" << logofs_flush; #endif -- cgit v1.2.3