Index: trunk/Ohana/src/opihi/dvo/dmt.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/dmt.c	(revision 7680)
+++ trunk/Ohana/src/opihi/dvo/dmt.c	(revision 7917)
@@ -32,5 +32,5 @@
 
   if (argc != 3) {
-    fprintf (stderr, "USAGE: dmags filter\n");
+    gprint (GP_ERR, "USAGE: dmags filter\n");
     return (FALSE);
   }
@@ -41,9 +41,9 @@
 
   if ((code = GetPhotcodebyName (argv[1])) == NULL) {
-    fprintf (stderr, "ERROR: photcode not found in photcode table\n");
+    gprint (GP_ERR, "ERROR: photcode not found in photcode table\n");
     return (FALSE);
   }
   if ((code[0].type != PHOT_SEC) && (code[0].type != PHOT_PRI)) {
-    fprintf (stderr, "first filter must be a PRIMARY or SECONDARY photometry type\n");
+    gprint (GP_ERR, "first filter must be a PRIMARY or SECONDARY photometry type\n");
     return (FALSE);
   }
