ef_verify: Polish product error message

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2015-02-21 19:07:44 +01:00
parent a4a25df2f4
commit ab82a804a6

View file

@ -371,9 +371,8 @@ verify_products(void)
if (!pchr[i].p_sname[0]) if (!pchr[i].p_sname[0])
continue; continue;
if ((pchr[i].p_type >= 0) == (pchr[i].p_level >= 0)) { if ((pchr[i].p_type >= 0) == (pchr[i].p_level >= 0)) {
fprintf(stderr, verify_fail(EF_PRODUCT, i, NULL, 0,
"Config %s uid %d field level doesn't match field type\n", "level must be none or type -1");
ef_nameof(EF_PRODUCT), i);
retval = -1; retval = -1;
} }
} }