diff options
Diffstat (limited to 'src/unexmacosx.c')
-rw-r--r-- | src/unexmacosx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index 3949e5f6e0..1acc009ba9 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c @@ -218,7 +218,7 @@ unexec_write_zero (off_t dest, size_t count) char buf[UNEXEC_COPY_BUFSZ]; ssize_t bytes; - bzero (buf, UNEXEC_COPY_BUFSZ); + memset (buf, 0, UNEXEC_COPY_BUFSZ); if (lseek (outfd, dest, SEEK_SET) != dest) return 0; |