Skip to content

Commit

Permalink
amigaos4/amigaos.c: Use memzero, not memset(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Apr 15, 2021
1 parent a16bc7c commit 3e22b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amigaos4/amigaos.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ int afstat(int fd, struct stat *statb)
}
}

memset(statb, 0, sizeof(statb));
memzero(statb, sizeof(statb));

statb->st_mode = mode;

Expand Down

0 comments on commit 3e22b59

Please sign in to comment.