diff options
-rw-r--r-- | hdata/hdif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hdata/hdif.c b/hdata/hdif.c index 25c0000..62ba69f 100644 --- a/hdata/hdif.c +++ b/hdata/hdif.c @@ -131,8 +131,8 @@ struct HDIF_common_hdr *HDIF_child(const struct HDIF_common_hdr *hdif, ret = base + be32_to_cpu(child->offset) + be32_to_cpu(child->size) * idx; if (!HDIF_check(ret, eyecatcher)) { - prerror("HDIF: %s child #%i bad type\n", - eyecatcher, idx); + prerror("HDIF: #%i bad type (wanted %6s, got %6s)\n", + idx, eyecatcher, ret->id); return NULL; } |