commit 845785d4e40a5c6b45a348a9436e0c3357ed7622 from: Tracey Emery date: Sun Feb 02 17:08:02 2020 UTC typo commit - f44b1f585dce43aab1aaaf01e1ab1b5e35fd5806 commit + 845785d4e40a5c6b45a348a9436e0c3357ed7622 blob - 499c7c7c8d19381b481479ba9b78bab2fc685319 blob + b0ab43580d1b083a39ff1c3a7aacf7b4073720f3 --- lib/object.c +++ lib/object.c @@ -1232,7 +1232,7 @@ got_object_blob_dump_to_file(size_t *filesize, int *nl *nlines = 1; *line_offsets = calloc(1, sizeof(**line_offsets)); if (*line_offsets == NULL) - return got_error_from_errno("malloc"); + return got_error_from_errno("calloc"); /* Skip forward over end of first line. */ while (i < len) {