Index: trunk/psphot/src/psphotStack.c
===================================================================
--- trunk/psphot/src/psphotStack.c	(revision 26894)
+++ trunk/psphot/src/psphotStack.c	(revision 27547)
@@ -20,5 +20,5 @@
 
     // call psphot for each readout
-    if (!psphotStacImageLoop (config)) {
+    if (!psphotStackImageLoop (config)) {
         psErrorStackPrint(stderr, "Error in the psphot image loop\n");
         exit (psphotGetExitStatus());
