From 28f31ea96b22e95708148d32a8df3a4577e6a636 Mon Sep 17 00:00:00 2001 From: TrungNguyen1909 Date: Thu, 11 Mar 2021 21:23:01 +0700 Subject: [PATCH] IM4P: report expected object on payload type error --- hw/arm/xnu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/xnu.c b/hw/arm/xnu.c index eff8fd1e2aa..ec4ad6ad0f2 100644 --- a/hw/arm/xnu.c +++ b/hw/arm/xnu.c @@ -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); }