Explorar o código

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

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
b4311304c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */