diff --git a/contrib/mmg3d/build/sources/ratio.c b/contrib/mmg3d/build/sources/ratio.c
index 3bfda09cb518732397e111c297c1968c2ce81cd3..79ee5e01012c5799c0555f6d33d6704c61fd320c 100644
--- a/contrib/mmg3d/build/sources/ratio.c
+++ b/contrib/mmg3d/build/sources/ratio.c
@@ -371,7 +371,7 @@ int MMG_ratio(pMesh mesh, pSol sol,char* firaoame) {
 	    iel,ielreal,pt->v[0],pt->v[1],pt->v[2],pt->v[3]);
   }
 
-  if ( abs(mesh->info.imprim) < 5 )  return;
+  if ( abs(mesh->info.imprim) < 5 )  return 1;
 
   fprintf(stdout,"\n     HISTOGRAMM\n");
   for (k=1; k<9; k++) {