diff --git a/fdtextract.c b/fdtextract.c index 6100a90ca5757e0eed017c30a62887e9c7cf65bb..516e3c29403c669f12b7c7e7c4e153498ec9b999 100644 --- a/fdtextract.c +++ b/fdtextract.c @@ -57,7 +57,7 @@ static const char * const usage_opts_help[] = { "List images embedded in FIT", "Extract image from FIT", "Output image name", - "Hash of image", + "SHA256 hash of image", "Get attribute of FIT", USAGE_COMMON_OPTS_HELP }; @@ -174,7 +174,6 @@ static int get_hash(char *buf, char *name) /* Print the hash. */ val = (uint8_t *)fdt_getprop(buf, noffset, "value", NULL); - printf("%s ", algo); for (i=0; i<SHA_256_LEN; i++) printf("%x", val[i]); printf("\n");