Index: /branches/eam_branch_20080223/Ohana/src/addstar/src/load2mass_as_rawdata.c
===================================================================
--- /branches/eam_branch_20080223/Ohana/src/addstar/src/load2mass_as_rawdata.c	(revision 16705)
+++ /branches/eam_branch_20080223/Ohana/src/addstar/src/load2mass_as_rawdata.c	(revision 16706)
@@ -165,5 +165,5 @@
 
 	// an error exit status here is a significant error
-	if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "w")) {
+	if (!dvo_catalog_open (&catalog, skylist[0].regions[0], VERBOSE, "w")) {
 	  fprintf (stderr, "ERROR: failure to open/create catalog file %s\n", catalog.filename);
 	  exit (2);
