Index: trunk/Ohana/src/opihi/cmd.astro/biassub.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 4689)
+++ trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 7917)
@@ -21,6 +21,6 @@
 
   if (argc != 7) {
-    fprintf (stderr, "USAGE: biassub <buffer> sx sy nx ny dir [-v N V]\n");
-    fprintf (stderr, "  optional storage of vector and sequence in N and V\n");
+    gprint (GP_ERR, "USAGE: biassub <buffer> sx sy nx ny dir [-v N V]\n");
+    gprint (GP_ERR, "  optional storage of vector and sequence in N and V\n");
     return (FALSE);
   }
@@ -33,5 +33,5 @@
   dir = atof (argv[6]);
   if ((dir != 0) && (dir != 1)) {
-    fprintf (stderr, " dir must be either 0 (x) or 1 (y)\n");
+    gprint (GP_ERR, " dir must be either 0 (x) or 1 (y)\n");
     return (FALSE);
   }
@@ -45,10 +45,10 @@
     nlong = nx;
   }    
-  fprintf (GetOutfile(), "start: %d %d  size: %d %d\n", sx, sy, nx, ny);
+  gprint (GP_LOG, "start: %d %d  size: %d %d\n", sx, sy, nx, ny);
 
     if ((sx < 0) || (sy < 0) || 
       (sx+nx > buf[0].matrix.Naxis[0]) || 
       (sy+ny > buf[0].matrix.Naxis[1])) {
-    fprintf (stderr, "region out of range\n");
+    gprint (GP_ERR, "region out of range\n");
     return (FALSE);
   }
