Procházet zdrojové kódy

src/core/perfmodel/perfmodel_print.c: fix printing format

Nathalie Furmento před 13 roky
rodič
revize
b4311304c1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/core/perfmodel/perfmodel_print.c

+ 1 - 1
src/core/perfmodel/perfmodel_print.c

@@ -77,7 +77,7 @@ void starpu_perfmodel_print(struct starpu_perfmodel *model, enum starpu_perf_arc
 		/* no specific parameter was requested, so we display everything */
 		if (arch_model->regression.nsample)
 		{
-			fprintf(output, "\tRegression : #sample = %d\n", arch_model->regression.nsample);
+			fprintf(output, "\tRegression : #sample = %u\n", arch_model->regression.nsample);
 		}
 
 		/* Only display the regression model if we could actually build a model */