Index: trunk/Ohana/src/opihi/cmd.data/shift.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/shift.c	(revision 2843)
+++ trunk/Ohana/src/opihi/cmd.data/shift.c	(revision 7917)
@@ -16,5 +16,5 @@
 
   if (argc != 4) {
-    fprintf (stderr, "USAGE: shift <buffer> dx dy\n");
+    gprint (GP_ERR, "USAGE: shift <buffer> dx dy\n");
     return (FALSE);
   }
@@ -36,5 +36,5 @@
 
   if ((dx > buf[0].matrix.Naxis[0]) || (dy > buf[0].matrix.Naxis[1])) {
-    fprintf (stderr, "shifting data out of image\n");
+    gprint (GP_ERR, "shifting data out of image\n");
     return (FALSE);
   }
@@ -91,5 +91,5 @@
   } 
 
-  fprintf (stderr, "%f %f\n", fdx, fdy);
+  gprint (GP_ERR, "%f %f\n", fdx, fdy);
   if ((fdx > 0) || (fdy > 0)) {
     double f00, f01, f10, f11;
