Index: /branches/dvo-mods-2007-02/Ohana/src/libdvo/src/LoadPhotcodesFITS.c
===================================================================
--- /branches/dvo-mods-2007-02/Ohana/src/libdvo/src/LoadPhotcodesFITS.c	(revision 12272)
+++ /branches/dvo-mods-2007-02/Ohana/src/libdvo/src/LoadPhotcodesFITS.c	(revision 12273)
@@ -18,16 +18,17 @@
 
   /* does this mean the db is empty, non-existent, or has access errors? */
+  // XXX we need better error handling here
   if (!gfits_db_lock (&db, filename)) {
-    fprintf (stderr, "ERROR: failure to lock db\n");
+    // fprintf (stderr, "ERROR: failure to lock db\n");
     gfits_db_close (&db);
     return FALSE;
   }
   if (db.dbstate == LCK_EMPTY) {
-    fprintf (stderr, "ERROR: db is empty\n");
+    // fprintf (stderr, "ERROR: db is empty\n");
     gfits_db_close (&db);
     return FALSE;
   } 
   if (!gfits_db_load (&db)) {
-    fprintf (stderr, "ERROR: failure to load db\n");
+    // fprintf (stderr, "ERROR: failure to load db\n");
     gfits_db_close (&db);
     return FALSE;
