Skip to content

Commit d032af7

Browse files
authored
Fix typo in 'to allocate' in fwrite.c (#6718)
1 parent 6ad0524 commit d032af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fwrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ void fwriteMain(fwriteMainArgs args)
861861
#ifndef NOZLIB
862862
z_stream *thread_streams = (z_stream *)malloc(nth * sizeof(z_stream));
863863
if (!thread_streams)
864-
STOP(_("Failed to allocated %d bytes for '%s'."), (int)(nth * sizeof(z_stream)), "thread_streams"); // # nocov
864+
STOP(_("Failed to allocate %d bytes for '%s'."), (int)(nth * sizeof(z_stream)), "thread_streams"); // # nocov
865865
// VLA on stack should be fine for nth structs; in zlib v1.2.11 sizeof(struct)==112 on 64bit
866866
// not declared inside the parallel region because solaris appears to move the struct in
867867
// memory when the #pragma omp for is entered, which causes zlib's internal self reference

0 commit comments

Comments
 (0)