Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
IM4P: report expected object on payload type error
Browse files Browse the repository at this point in the history
  • Loading branch information
TrungNguyen1909 committed Mar 11, 2021
1 parent 8b02511 commit 28f31ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/arm/xnu.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static void extract_im4p_payload(const char* filename, const char* payload_type,
}

if (strncmp(type, payload_type, 4) != 0) {
error_report("Could parse ASN.1 data in file '%s' because it is not a %s object.", filename, payload_type);
error_report("Could parse ASN.1 data in file '%s' because it is not a '%s' object, found '%s' object.", filename, payload_type, type);
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit 28f31ea

Please sign in to comment.