Index: branches/tap_branches/ippTools/src/pxadmin.c
===================================================================
--- branches/tap_branches/ippTools/src/pxadmin.c	(revision 25900)
+++ branches/tap_branches/ippTools/src/pxadmin.c	(revision 27838)
@@ -94,5 +94,5 @@
     psString query = pxDataGet("pxadmin_create_tables.sql");
     if (!query) {
-        psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
+        psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement");
         return false;
     }
@@ -114,5 +114,5 @@
     psFree(query);
 
-    if (!insert_dbversion(config, PACKAGE_VERSION)) {
+    if (!insert_dbversion(config, IPPDB_VERSION)) {
         psError(PS_ERR_UNKNOWN, false, "failed to set database version");
         return false;
@@ -135,5 +135,5 @@
     psString query = pxDataGet("pxadmin_create_mirror_tables.sql");
     if (!query) {
-        psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
+        psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement");
         return false;
     }
@@ -155,5 +155,5 @@
     psFree(query);
 
-    if (!insert_dbversion(config, PACKAGE_VERSION)) {
+    if (!insert_dbversion(config, IPPDB_VERSION)) {
         psError(PS_ERR_UNKNOWN, false, "failed to set database version");
         return false;
@@ -220,5 +220,5 @@
     psString query = pxDataGet("pxadmin_drop_tables.sql");
     if (!query) {
-        psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
+        psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement");
         return false;
     }
