Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
martintc committed Oct 11, 2021
1 parent 1fdfa64 commit 249c3f9
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 @@ -60,7 +60,7 @@ bool UtMem2BinFile(const void *Memory, const char *Filename, uint32 Length)
struct stat dststat;

if (fp = fopen(Filename, "w")) {
int fd = fileno(fp);
int fd = fileno(fp);
if ((fchmod(fd, dststat.st_mode & ~(S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH)) == 0)
{
fwrite(Memory, Length, 1, fp);
Expand Down

0 comments on commit 249c3f9

Please sign in to comment.