summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c
index 96c022bcb7..1cc3343244 100644
--- a/rbutil/ipodpatcher/ipodpatcher.c
+++ b/rbutil/ipodpatcher/ipodpatcher.c
@@ -526,6 +526,7 @@ int add_bootloader(struct ipod_t* ipod, char* filename, int type)
526 bootloader_buf = malloc(length); 526 bootloader_buf = malloc(length);
527 if (bootloader_buf == NULL) { 527 if (bootloader_buf == NULL) {
528 fprintf(stderr,"[ERR] Can not allocate memory for bootloader\n"); 528 fprintf(stderr,"[ERR] Can not allocate memory for bootloader\n");
529 return -1;
529 } 530 }
530 /* Now read our bootloader - we need to check it before modifying the partition*/ 531 /* Now read our bootloader - we need to check it before modifying the partition*/
531 n = read(infile,bootloader_buf,length); 532 n = read(infile,bootloader_buf,length);