diff --git a/tools/unpack-pbp.c b/tools/unpack-pbp.c index fb2a43a2..1821a031 100644 --- a/tools/unpack-pbp.c +++ b/tools/unpack-pbp.c @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) { // Create the read buffer buffer = malloc(maxbuffer); if (buffer == NULL) { - printf("ERROR: Could not allocate the section data buffer. (%d)\n", readsize); + printf("ERROR: Could not allocate the section data buffer. (%d)\n", maxbuffer); return -1; }