From: Markus Armbruster Date: Sun, 3 Sep 2017 15:38:34 +0000 (+0200) Subject: ef_verify: Fix error message in verify_land_chr() X-Git-Tag: v4.4.0^0 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=11756fc9c9d647ab5fcb63dc186c11aa6dd43c51;ds=sidebyside ef_verify: Fix error message in verify_land_chr() It points to the wrong table. Screwed up in commit 33800fc. Correct the pasto. Signed-off-by: Markus Armbruster --- diff --git a/src/lib/common/ef_verify.c b/src/lib/common/ef_verify.c index cbda1d408..c5c057ea9 100644 --- a/src/lib/common/ef_verify.c +++ b/src/lib/common/ef_verify.c @@ -368,7 +368,7 @@ verify_land_chr(void) if (!lchr[i].l_name[0]) continue; if ((lchr[i].l_flags & L_SPY) && lchr[i].l_item[I_MILIT]) { - verify_fail(EF_PLANE_CHR, i, NULL, 0, + verify_fail(EF_LAND_CHR, i, NULL, 0, "flag %s requires zero milit", symbol_by_value(L_SPY, land_chr_flags)); retval = -1; @@ -376,6 +376,7 @@ verify_land_chr(void) } return retval; } + static int verify_products(void) {