Index: trunk/psphot/src/psphotMergeSources.c
===================================================================
--- trunk/psphot/src/psphotMergeSources.c	(revision 20070)
+++ trunk/psphot/src/psphotMergeSources.c	(revision 20085)
@@ -52,5 +52,5 @@
 }
 
-pmDetections *detections = psphotLoadPSFSources (pmConfig *config, const pmFPAview *view) {
+pmDetections *psphotLoadPSFSources (pmConfig *config, const pmFPAview *view) {
 
     // find the currently selected readout
@@ -87,5 +87,5 @@
     }
 
-    psLogMsg ("psphot", 3, "%ld PSF sources loaded", detections->peaks->nn);
+    psLogMsg ("psphot", 3, "%ld PSF sources loaded", detections->peaks->n);
 
     return detections;
