diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp
index c5edea615fd830b62a734eedb0e64a422407e8c0..0ac07591f8e2b8c4e93dc33c92591b7e2dd0e2fc 100644
--- a/Graphics/gl2ps.cpp
+++ b/Graphics/gl2ps.cpp
@@ -470,7 +470,7 @@ GLint gl2psFindRoot(GL2PSlist *primitives, GL2PSprimitive **root){
 	if(!count) return index;
       }
     }
-    if(index) printf("GL2PS_BEST_ROOT was worth it: %d\n", index);
+    if(index) gl2psMsg("GL2PS_BEST_ROOT was worth it: %d", index);
     return index;
   }
   else{