Index: trunk/Ohana/src/opihi/cmd.astro/precess.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/precess.c	(revision 2598)
+++ trunk/Ohana/src/opihi/cmd.astro/precess.c	(revision 7917)
@@ -15,6 +15,6 @@
   in_epoch = out_epoch = 2000.0;
   if (argc != 5) {
-    fprintf (stderr, "USAGE:  precess (from) (to) RA DEC \n");
-    fprintf (stderr, "   you may use B for B1950.0 or J for J2000.0\n");
+    gprint (GP_ERR, "USAGE:  precess (from) (to) RA DEC \n");
+    gprint (GP_ERR, "   you may use B for B1950.0 or J for J2000.0\n");
     return (FALSE);
   }
@@ -56,5 +56,5 @@
   }
 
-  fprintf (stderr, "converting from J%f to J%f\n", in_epoch, out_epoch);
+  gprint (GP_ERR, "converting from J%f to J%f\n", in_epoch, out_epoch);
 
   T = (out_epoch - in_epoch) / 100.0;
@@ -77,5 +77,5 @@
     if (RA < 0)
       RA += 360;
-    fprintf (GetOutfile(), "%f %f -> %f %f\n", A, D, RA, DEC);
+    gprint (GP_LOG, "%f %f -> %f %f\n", A, D, RA, DEC);
     return (TRUE);
   }    
@@ -86,5 +86,5 @@
 
   if (xvec[0].Nelements != yvec[0].Nelements) {
-    fprintf (stderr, "vectors %s and %s not the same length\n", argv[3], argv[4]);
+    gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[3], argv[4]);
     return (FALSE);
   }
