mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +00:00
Update unpack-pbp.c
Fixed compilation error (non-declared variable was passed to the error reporting printf)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user