Update unpack-pbp.c

Fixed compilation error (non-declared variable was passed to the error reporting printf)
This commit is contained in:
bitlinker
2014-03-25 22:55:30 +03:00
parent 5b4c31939a
commit cec2766db8

View File

@@ -153,7 +153,7 @@ int main(int argc, char *argv[]) {
// Create the read buffer // Create the read buffer
buffer = malloc(maxbuffer); buffer = malloc(maxbuffer);
if (buffer == NULL) { 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; return -1;
} }