summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
committerSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
commit3fb7c2ba7a96ac3a76795632369464acc6c1a776 (patch)
tree1c9ad819f6c6fc456d0637c5f84ee22fcbf1bbaf /util
parent77ee5cf2143417ca19c1dd981abcd016579f0cd9 (diff)
downloadkexec-tools-3fb7c2ba7a96ac3a76795632369464acc6c1a776.tar.gz
Make purgatory a signed char buffer
The consumer of the purgatory buffer, elf_rel_build_load() expects a signed char buffer. Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util')
-rw-r--r--util/bin-to-hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/bin-to-hex.c b/util/bin-to-hex.c
index 5906f936..48a71e75 100644
--- a/util/bin-to-hex.c
+++ b/util/bin-to-hex.c
@@ -6,7 +6,7 @@ int main(int argc, char **argv)
int i;
const char *name = argv[1];
printf("#include <stddef.h>\n");
- printf("const unsigned char %s[] = {\n", name);
+ printf("const char %s[] = {\n", name);
i = 0;
while((c = getchar()) != EOF) {
if ((i % 16) != 0) {