From cec2766db828b64aa91faf478ef2f837a2adedec Mon Sep 17 00:00:00 2001 From: bitlinker Date: Tue, 25 Mar 2014 22:55:30 +0300 Subject: [PATCH] Update unpack-pbp.c Fixed compilation error (non-declared variable was passed to the error reporting printf) --- tools/unpack-pbp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }