diff options
author | AndersBroman <anders.broman@ericsson.com> | 2015-08-21 13:54:53 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-08-21 11:57:25 +0000 |
commit | 30ce20da308354c55edf73f94fccf4081cce681a (patch) | |
tree | 9fcd58b0fd2028cca373f22d63fd0c43156feedc /epan/expert.c | |
parent | f73e1c29562fc64e01be01570f1673783f79537b (diff) | |
download | wireshark-30ce20da308354c55edf73f94fccf4081cce681a.tar.gz |
[Expert] Enhance error output to identify the duplicated field.
Change-Id: Ie38f51e2fa0f846dbcfd7a19f29eac1bd07cffbc
Reviewed-on: https://code.wireshark.org/review/10179
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/expert.c')
-rw-r--r-- | epan/expert.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |