Index: trunk/psphot/src/psphotImageStats.c
===================================================================
--- trunk/psphot/src/psphotImageStats.c	(revision 5828)
+++ trunk/psphot/src/psphotImageStats.c	(revision 6056)
@@ -1,10 +1,10 @@
 # include "psphot.h"
 
-psStats *psphotImageStats (eamReadout *imdata, psMetadata *config) 
+psStats *psphotImageStats (pmReadout *readout, psMetadata *config) 
 { 
     psStats *stats = NULL;
     psStats *sky   = NULL;
 
-    psImage *image = imdata->image;
+    psImage *image = readout->image;
 
     // get image stats on a subset of the image (random 1e5 pts)
