Index: branches/eam_branches/psphot.stack.20100120/src/psphotFitSourcesLinear.c
===================================================================
--- branches/eam_branches/psphot.stack.20100120/src/psphotFitSourcesLinear.c	(revision 26688)
+++ branches/eam_branches/psphot.stack.20100120/src/psphotFitSourcesLinear.c	(revision 26691)
@@ -17,5 +17,5 @@
     bool status = true;
 
-    int num = psMetadataAddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
+    int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
     psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
 
@@ -30,5 +30,5 @@
 }
 
-bool psphotFitSourcesLinearReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index) {
+bool psphotFitSourcesLinearReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, bool final) {
 
     bool status;
