Skip to content

Commit

Permalink
Fix name of variable during closing of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Martin authored and Todd Martin committed Oct 8, 2021
1 parent 3ab23ac commit 7a3cf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ut_assert/src/uttools.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ bool UtMem2BinFile(const void *Memory, const char *Filename, uint32 Length)
if ((fp = fopen(Filename, "w")))
{
fwrite(Memory, Length, 1, fp);
fclose(p);
fclose(fp);
return (true);
}
}
Expand Down

0 comments on commit 7a3cf3f

Please sign in to comment.