From 30ce20da308354c55edf73f94fccf4081cce681a Mon Sep 17 00:00:00 2001 From: AndersBroman Date: Fri, 21 Aug 2015 13:54:53 +0200 Subject: [Expert] Enhance error output to identify the duplicated field. Change-Id: Ie38f51e2fa0f846dbcfd7a19f29eac1bd07cffbc Reviewed-on: https://code.wireshark.org/review/10179 Reviewed-by: Anders Broman --- epan/expert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/expert.c') diff --git a/epan/expert.c b/epan/expert.c index fe6943caa1..64866dc82a 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -375,8 +375,8 @@ expert_register_field_array(expert_module_t *module, ei_register_info *exp, cons */ if (ptr->ids->ei != -1 && ptr->ids->ei != 0) { fprintf(stderr, - "Duplicate field detected in call to expert_register_field_array: '%s' is already registered\n", - ptr->eiinfo.summary); + "Duplicate field detected in call to expert_register_field_array: '%s' is already registered, name=%s\n", + ptr->eiinfo.summary, ptr->eiinfo.name); return; } -- cgit v1.2.1