summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/main.c')
-rw-r--r--rbutil/sansapatcher/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/rbutil/sansapatcher/main.c b/rbutil/sansapatcher/main.c
index b813fadbe6..83eb8f80db 100644
--- a/rbutil/sansapatcher/main.c
+++ b/rbutil/sansapatcher/main.c
@@ -32,10 +32,6 @@
32 32
33#define VERSION "0.6 with v4.0 bootloaders" 33#define VERSION "0.6 with v4.0 bootloaders"
34 34
35unsigned char* sectorbuf;
36
37int verbose = 0;
38
39enum { 35enum {
40 NONE, 36 NONE,
41 INSTALL, 37 INSTALL,
@@ -150,7 +146,7 @@ int main(int argc, char* argv[])
150 return 1; 146 return 1;
151 } 147 }
152 148
153 if (sansa_alloc_buffer(&sectorbuf,BUFFER_SIZE) < 0) { 149 if (sansa_alloc_buffer(&sansa_sectorbuf,BUFFER_SIZE) < 0) {
154 fprintf(stderr,"Failed to allocate memory buffer\n"); 150 fprintf(stderr,"Failed to allocate memory buffer\n");
155 } 151 }
156 152