Index: trunk/ippTools/src/pxtools.c
===================================================================
--- trunk/ippTools/src/pxtools.c	(revision 25928)
+++ trunk/ippTools/src/pxtools.c	(revision 26981)
@@ -120,5 +120,5 @@
     PXOPT_LOOKUP_STR(where_state, config->args, "-state", false, false);
     if (where_state && (psListLength(where->list) < 2)) {
-        psError(PXTOOLS_ERR_DATA, true, "selection by -state alone is not allowed");
+        psError(PXTOOLS_ERR_CONFIG, true, "selection by -state alone is not allowed");
         return false;
     }
@@ -136,10 +136,10 @@
 
     if ((!state) && (!label) && (!data_group) && (has_dist_group && !dist_group) && !(note)) {
-        psError(PXTOOLS_ERR_DATA, false, "parameters are required");
+        psError(PXTOOLS_ERR_CONFIG, false, "parameters are required");
         return false;
     }
 
     if (state && ! pxIsValidState(state)) {
-        psError(PXTOOLS_ERR_DATA, false, "pxIsValidState failed");
+        psError(PXTOOLS_ERR_CONFIG, false, "pxIsValidState failed");
         return false;
     }
