]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
temporary fix for missing error code on mac
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Oct 2007 10:50:48 +0000 (10:50 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Oct 2007 10:50:48 +0000 (10:50 +0000)
HLT/BASE/AliHLTSystem.cxx

index cba349299065eaf0d41eb71973b096db8206da4e..0fc85b77f83be42cf9372e437e198c265865695e 100644 (file)
@@ -353,7 +353,7 @@ int AliHLTSystem::Run(Int_t iNofEvents, int bStop)
   }
   if (iResult>=0) {
     iResult=iCount;
-  } else  if (iResult==-ENOKEY) {
+  } else  if (iResult==-126 /*ENOKEY*/) {
     iResult=0; // do not propagate the error
   }
   ClearStatusFlags(kRunning);
@@ -368,7 +368,7 @@ int AliHLTSystem::InitTasks()
 
   if (lnk==NULL) {
     HLTWarning("Task list is empty, aborting ...");
-    return -ENOKEY;
+    return -126 /*ENOKEY*/;
   }
   while (lnk && iResult>=0) {
     TObject* obj=lnk->GetObject();