소스 검색

tools/starpu_fxt_stats.c: fix comparison test

Nathalie Furmento 11 년 전
부모
커밋
c0576444eb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/starpu_fxt_stats.c

+ 1 - 1
tools/starpu_fxt_stats.c

@@ -136,7 +136,7 @@ int main(int argc, char **argv)
 	else
 	{
 		fd_out = fopen(fout, "w");
-		if (fd_out < 0)
+		if (fd_out == NULL)
 		{
 			perror("open failed :");
 			exit(-1);