From 192c8c94afbc84a12408e9aa5502574b90a9efb3 Mon Sep 17 00:00:00 2001
From: Gerardo Ganis <Gerardo.Ganis@cern.ch>
Date: Fri, 20 Feb 2015 14:32:55 +0100
Subject: [PATCH] Proof-Packetizer: Fine tune warning messages

---
 proof/proofplayer/src/TPacketizerAdaptive.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/proof/proofplayer/src/TPacketizerAdaptive.cxx b/proof/proofplayer/src/TPacketizerAdaptive.cxx
index 3ba99236c3e..c859f77fbe9 100644
--- a/proof/proofplayer/src/TPacketizerAdaptive.cxx
+++ b/proof/proofplayer/src/TPacketizerAdaptive.cxx
@@ -503,18 +503,18 @@ TPacketizerAdaptive::TPacketizerAdaptive(TDSet *dset, TList *slaves,
 
    Long_t maxSlaveCnt = 0;
    if (TProof::GetParameter(input, "PROOF_MaxSlavesPerNode", maxSlaveCnt) == 0) {
-      if (maxSlaveCnt < 1) {
+      if (maxSlaveCnt < 0) {
          Info("TPacketizerAdaptive",
-              "The value of PROOF_MaxSlavesPerNode must be grater than 0");
+              "The value of PROOF_MaxSlavesPerNode must be positive");
          maxSlaveCnt = 0;
       }
    } else {
       // Try also with Int_t (recently supported in TProof::SetParameter)
       Int_t mxslcnt = -1;
       if (TProof::GetParameter(input, "PROOF_MaxSlavesPerNode", mxslcnt) == 0) {
-         if (mxslcnt < 1) {
+         if (mxslcnt < 0) {
             Info("TPacketizerAdaptive",
-                 "The value of PROOF_MaxSlavesPerNode must be grater than 0");
+                 "The value of PROOF_MaxSlavesPerNode must be positive");
             mxslcnt = 0;
          }
          maxSlaveCnt = (Long_t) mxslcnt;
-- 
GitLab