projects
/
b43-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disassembler: Improve header error messages
[b43-tools.git]
/
disassembler
/
main.c
diff --git
a/disassembler/main.c
b/disassembler/main.c
index cf716df8fb9b21bb14812a8428f9549965d792f3..09e7643038b64f4d963bc5a9fe255269e80938ae 100644
(file)
--- a/
disassembler/main.c
+++ b/
disassembler/main.c
@@
-857,11
+857,11
@@
static int read_input(struct disassembler_context *ctx)
case FMT_B43:
ret = fread(&hdr, 1, sizeof(hdr), infile);
if (ret != sizeof(hdr)) {
case FMT_B43:
ret = fread(&hdr, 1, sizeof(hdr), infile);
if (ret != sizeof(hdr)) {
- fprintf(stderr, "Corrupt input file (no
t fwcutter output
)\n");
+ fprintf(stderr, "Corrupt input file (no
b43 header found
)\n");
goto err_close;
}
if (hdr.type != FW_TYPE_UCODE) {
goto err_close;
}
if (hdr.type != FW_TYPE_UCODE) {
- fprintf(stderr, "Corrupt input file. Not a microcode image.\n");
+ fprintf(stderr, "Corrupt input file. Not a
b43
microcode image.\n");
goto err_close;
}
if (hdr.ver != FW_HDR_VER) {
goto err_close;
}
if (hdr.ver != FW_HDR_VER) {