@@ -9,12 +9,12 @@ static int fclose_entry(void)
perror("fopen fail");
return -1;
}
- if(fclose(stream))
+ if(fclose(stream) != 0)
{
perror("fclose fail");
+ else
printf("fclose sucess \n");