X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41082590e3aeb09f43656836f71b970551be5e98..ccbd47f758dda7838a0d5a8185f090f6bf17577a:/tools/firmware-utils/src/buffalo-enc.c diff --git a/tools/firmware-utils/src/buffalo-enc.c b/tools/firmware-utils/src/buffalo-enc.c index 94de53e91..13d270b3f 100644 --- a/tools/firmware-utils/src/buffalo-enc.c +++ b/tools/firmware-utils/src/buffalo-enc.c @@ -87,8 +87,10 @@ static int decrypt_file(void) ep.key = (unsigned char *) crypt_key; err = decrypt_buf(&ep, buf, src_len); - if (err) + if (err) { + ERR("unable to decrypt '%s'", ifname); goto out; + } printf("Magic\t\t: '%s'\n", ep.magic); printf("Seed\t\t: 0x%02x\n", ep.seed);