Index: trunk/Ohana/src/opihi/cmd.astro/cplot.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/cplot.c	(revision 7391)
+++ trunk/Ohana/src/opihi/cmd.astro/cplot.c	(revision 7917)
@@ -11,5 +11,5 @@
 
   if (argc != 3) {
-    fprintf (stderr, "USAGE: cplot <ra> <dec> [style]\n");
+    gprint (GP_ERR, "USAGE: cplot <ra> <dec> [style]\n");
     return (FALSE);
   }
@@ -24,5 +24,5 @@
 
   if (xvec[0].Nelements != yvec[0].Nelements) {
-    fprintf (stderr, "vectors are not the same length\n");
+    gprint (GP_ERR, "vectors are not the same length\n");
     return (FALSE);
   }
