Skip to content

Commit

Permalink
From patchwork series 425882
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Sep 30, 2024
1 parent ef28aca commit 47a0a8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/testing/selftests/powerpc/mm/tlbie_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,16 +313,16 @@ static inline void end_verification_log(unsigned int tid, unsigned nr_anamolies)

fclose(f);

if (nr_anamolies == 0) {
remove(path);
return;
}

sprintf(logfile, logfilename, tid);
strcpy(path, logdir);
strcat(path, separator);
strcat(path, logfile);

if (nr_anamolies == 0) {
remove(path);
return;
}

printf("Thread %02d chunk has %d corrupted words. For details check %s\n",
tid, nr_anamolies, path);
}
Expand Down

0 comments on commit 47a0a8f

Please sign in to comment.