瀏覽代碼

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))