Explorar o código

avoid issues with potential % in tasks.rec

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
f0f75282e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/starpu_tasks_rec_complete.c

+ 1 - 1
tools/starpu_tasks_rec_complete.c

@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
 		{
 			already_there = 1;
 		}
-		fprintf(output, s);
+		fprintf(output, "%s", s);
 	}
 
 	if (fclose(output))