소스 검색

avoid issues with potential % in tasks.rec

Samuel Thibault 8 년 전
부모
커밋
f0f75282e8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))