diff options
Diffstat (limited to 'utils/sbtools/sbtoelf.c')
-rw-r--r-- | utils/sbtools/sbtoelf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/sbtools/sbtoelf.c b/utils/sbtools/sbtoelf.c index 632c4b3eb9..3eb168ddd1 100644 --- a/utils/sbtools/sbtoelf.c +++ b/utils/sbtools/sbtoelf.c | |||
@@ -78,9 +78,9 @@ const char *key_file; | |||
78 | 78 | ||
79 | void *xmalloc(size_t s) /* malloc helper, used in elf.c */ | 79 | void *xmalloc(size_t s) /* malloc helper, used in elf.c */ |
80 | { | 80 | { |
81 | void * r = malloc(s); | 81 | void * r = malloc(s); |
82 | if(!r) bugp("malloc"); | 82 | if(!r) bugp("malloc"); |
83 | return r; | 83 | return r; |
84 | } | 84 | } |
85 | 85 | ||
86 | static void print_hex(byte *data, int len, bool newline) | 86 | static void print_hex(byte *data, int len, bool newline) |
@@ -91,7 +91,7 @@ static void print_hex(byte *data, int len, bool newline) | |||
91 | printf("\n"); | 91 | printf("\n"); |
92 | } | 92 | } |
93 | 93 | ||
94 | int convxdigit(char digit, byte *val) | 94 | static int convxdigit(char digit, byte *val) |
95 | { | 95 | { |
96 | if(digit >= '0' && digit <= '9') | 96 | if(digit >= '0' && digit <= '9') |
97 | { | 97 | { |
@@ -495,7 +495,7 @@ static void extract(unsigned long filesize) | |||
495 | int encrypted = !(sec_hdr->flags & SECTION_CLEARTEXT); | 495 | int encrypted = !(sec_hdr->flags & SECTION_CLEARTEXT); |
496 | 496 | ||
497 | color(GREEN); | 497 | color(GREEN); |
498 | printf(" Chunk "); | 498 | printf(" Section "); |
499 | color(YELLOW); | 499 | color(YELLOW); |
500 | printf("'%s'\n", name); | 500 | printf("'%s'\n", name); |
501 | color(GREEN); | 501 | color(GREEN); |