Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 11480)
+++ trunk/ippTools/src/dettool.c	(revision 11702)
@@ -136,5 +136,5 @@
         MODECASE(DETTOOL_MODE_REGISTER_DETREND_IMFILE, register_detrend_imfileMode);
         default:
-            psAbort(argv[0], "invalid option (this should not happen)");
+            psAbort("invalid option (this should not happen)");
     }
 
@@ -457,6 +457,5 @@
         psFree(iter);
     } else {
-        psAbort(config->argv[0],
-                "-exp_tag was not parsed correctly (this should not happen");
+        psAbort(                "-exp_tag was not parsed correctly (this should not happen");
     }
 
@@ -476,6 +475,5 @@
     // we should have one rawExp row per exp_tag specified
     if (psListLength(item->data.list) != psArrayLength(detrendExps)) {
-        psAbort(config->argv[0],
-    "an -exp_tag matched more then one rawExp (this should not happen");
+        psAbort(    "an -exp_tag matched more then one rawExp (this should not happen");
 
     }
@@ -579,5 +577,5 @@
     // sanity check results
     if (psArrayLength(detRuns) != 1) {
-        psAbort(config->argv[0], "found more then one detRun matching det_id %ld(this should not happen)", det_id);
+        psAbort("found more then one detRun matching det_id %ld(this should not happen)", det_id);
         return false;
     }
@@ -1213,5 +1211,5 @@
     // sanity check results
     if (psArrayLength(detRuns) != 1) {
-        psAbort(config->argv[0], "found more then one detRun matching det_id %ld(this should not happen)", det_id);
+        psAbort("found more then one detRun matching det_id %ld(this should not happen)", det_id);
         return false;
     }
@@ -1266,5 +1264,5 @@
     // sanity check the result... we should have only found one det_id
     if (psArrayLength(detRuns) != 1) {
-        psAbort(config->argv[0], "found more then one detRun matching det_id %d(this should not happen)", (psS32)atoi(det_id));
+        psAbort("found more then one detRun matching det_id %d(this should not happen)", (psS32)atoi(det_id));
         return false;                   // unreachable
     }
@@ -1627,5 +1625,5 @@
     // sanity check the result... we should have only found one det_id
     if (psArrayLength(newDetRuns) != 1) {
-        psAbort(config->argv[0], "found more then one detRun matching det_id %ld(this should not happen)", newDet_id);
+        psAbort("found more then one detRun matching det_id %ld(this should not happen)", newDet_id);
         return false;                   // unreachable
     }
@@ -5962,6 +5960,5 @@
         psFree(iter);
     } else {
-        psAbort(config->argv[0],
-                "-exp_tag was not parsed correctly (this should not happen");
+        psAbort(                "-exp_tag was not parsed correctly (this should not happen");
     }
 
@@ -6462,6 +6459,5 @@
     if (psArrayLength(detRuns) != 1) {
         // this should no happen
-        psAbort(config->argv[0],
-                "database query return too many rows (this should not happen");
+        psAbort(                "database query return too many rows (this should not happen");
     }
 
