Skip to content

Commit

Permalink
Add in missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
martintc committed Oct 11, 2021
1 parent 220132d commit c759f8a
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 @@ -61,7 +61,7 @@ bool UtMem2BinFile(const void *Memory, const char *Filename, uint32 Length)

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

0 comments on commit c759f8a

Please sign in to comment.