Skip to content

Commit

Permalink
Fix typo in 'to allocate' in fwrite.c (#6718)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Jan 13, 2025
1 parent 6ad0524 commit d032af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ void fwriteMain(fwriteMainArgs args)
#ifndef NOZLIB
z_stream *thread_streams = (z_stream *)malloc(nth * sizeof(z_stream));
if (!thread_streams)
STOP(_("Failed to allocated %d bytes for '%s'."), (int)(nth * sizeof(z_stream)), "thread_streams"); // # nocov
STOP(_("Failed to allocate %d bytes for '%s'."), (int)(nth * sizeof(z_stream)), "thread_streams"); // # nocov
// VLA on stack should be fine for nth structs; in zlib v1.2.11 sizeof(struct)==112 on 64bit
// not declared inside the parallel region because solaris appears to move the struct in
// memory when the #pragma omp for is entered, which causes zlib's internal self reference
Expand Down

0 comments on commit d032af7

Please sign in to comment.