Index: trunk/Ohana/src/opihi/cmd.astro/profile.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/profile.c	(revision 2598)
+++ trunk/Ohana/src/opihi/cmd.astro/profile.c	(revision 7917)
@@ -10,5 +10,5 @@
 
   if (argc != 7) {
-    fprintf (stderr, "USAGE: profile <buffer> <X vector> <Y vector> x y N\n");
+    gprint (GP_ERR, "USAGE: profile <buffer> <X vector> <Y vector> x y N\n");
     return (FALSE);
   }
@@ -47,5 +47,5 @@
 
 range_error:
-  fprintf (stderr, "region out of range\n");
+  gprint (GP_ERR, "region out of range\n");
   return (FALSE);
 }
