Index: branches/tap_branches/ppSub/src/ppSubReadoutStats.c
===================================================================
--- branches/tap_branches/ppSub/src/ppSubReadoutStats.c	(revision 25900)
+++ branches/tap_branches/ppSub/src/ppSubReadoutStats.c	(revision 27838)
@@ -23,5 +23,5 @@
     pmFPAfile *output = psMetadataLookupPtr(NULL, config->files, "PPSUB.OUTPUT"); // Output file
     if (!output) {
-        psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PPSUB.OUTPUT.\n");
+        psError(PPSUB_ERR_PROG, true, "Unable to find file PPSUB.OUTPUT.\n");
         return false;
     }
