Index: trunk/Ohana/src/opihi/cmd.astro/drizzle.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/drizzle.c	(revision 4689)
+++ trunk/Ohana/src/opihi/cmd.astro/drizzle.c	(revision 7917)
@@ -27,7 +27,7 @@
 
   if (argc != 5) {
-    fprintf (stderr, "USAGE: transform <from> <to> <weight> (Nlinear)\n");
-    fprintf (stderr, "  output buffer must exist with target astrometry header\n");
-    fprintf (stderr, "  Nlinear is the pixel scale for linear astrometric transformation\n");
+    gprint (GP_ERR, "USAGE: transform <from> <to> <weight> (Nlinear)\n");
+    gprint (GP_ERR, "  output buffer must exist with target astrometry header\n");
+    gprint (GP_ERR, "  Nlinear is the pixel scale for linear astrometric transformation\n");
     return (FALSE);
   }
@@ -43,5 +43,5 @@
   /* for the moment, disable WRP / DIS */
   if (!strcmp(&coords_in.ctype[4], "-WRP") || !strcmp(&coords_out.ctype[4], "-WRP")) {
-    fprintf (stderr, "WRP mode not implemented for astrom\n");
+    gprint (GP_ERR, "WRP mode not implemented for astrom\n");
     return (FALSE);
   }
@@ -50,5 +50,5 @@
   scale_out = sqrt(fabs(coords_out.cdelt1*coords_out.cdelt2*(coords_out.pc1_1*coords_out.pc2_2 - coords_out.pc1_2*coords_out.pc2_1)));
   
-  fprintf (stderr, "%f - %f\n", scale_in, scale_out);
+  gprint (GP_ERR, "%f - %f\n", scale_in, scale_out);
 
   if (scale_in > scale_out) {
