From 11756fc9c9d647ab5fcb63dc186c11aa6dd43c51 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 3 Sep 2017 17:38:34 +0200 Subject: [PATCH] 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 --- src/lib/common/ef_verify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.43.0