diff options
Diffstat (limited to 'utils/imxtools/sbtools/rsrctool.c')
-rw-r--r-- | utils/imxtools/sbtools/rsrctool.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/imxtools/sbtools/rsrctool.c b/utils/imxtools/sbtools/rsrctool.c index cb0582245a..53235365ae 100644 --- a/utils/imxtools/sbtools/rsrctool.c +++ b/utils/imxtools/sbtools/rsrctool.c | |||
@@ -52,7 +52,7 @@ char *g_out_prefix; | |||
52 | 52 | ||
53 | static void extract_rsrc_file(struct rsrc_file_t *file) | 53 | static void extract_rsrc_file(struct rsrc_file_t *file) |
54 | { | 54 | { |
55 | 55 | (void) file; | |
56 | } | 56 | } |
57 | 57 | ||
58 | static void usage(void) | 58 | static void usage(void) |
@@ -76,6 +76,8 @@ static void rsrc_printf(void *user, bool error, color_t c, const char *fmt, ...) | |||
76 | { | 76 | { |
77 | (void) user; | 77 | (void) user; |
78 | (void) error; | 78 | (void) error; |
79 | if(!g_debug) | ||
80 | return; | ||
79 | va_list args; | 81 | va_list args; |
80 | va_start(args, fmt); | 82 | va_start(args, fmt); |
81 | color(c); | 83 | color(c); |
@@ -176,6 +178,8 @@ int main(int argc, char **argv) | |||
176 | printf("RSRC read failed: %d\n", err); | 178 | printf("RSRC read failed: %d\n", err); |
177 | return 1; | 179 | return 1; |
178 | } | 180 | } |
181 | if(g_debug) | ||
182 | printf("%d entries read from file\n", file->nr_entries); | ||
179 | 183 | ||
180 | color(OFF); | 184 | color(OFF); |
181 | if(g_out_prefix) | 185 | if(g_out_prefix) |