From 854d2d9bd7556cfd8a676b0bc18dc059a9a2dd25 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Tue, 24 Mar 2009 11:09:16 +0300 Subject: libxtables: fix compile error due to incomplete change Commit 2338efd8f799d8373dc196c797bda9690283b698 forgot to update the constant in one place, and the compile error triggered only when -DNO_SHARED_LIBS (configure --disable-shared) was in effect. Signed-off-by: Jan Engelhardt --- xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtables.c b/xtables.c index 12141271..044603f9 100644 --- a/xtables.c +++ b/xtables.c @@ -638,7 +638,7 @@ xtables_find_target(const char *name, enum xtables_tryload tryload) else ptr = NULL; } - if(!ptr && (tryload == LOAD_MUST_SUCCEED)) { + if (ptr == NULL && tryload == XTF_LOAD_MUST_SUCCEED) { xt_params->exit_err(PARAMETER_PROBLEM, "Couldn't find target `%s'\n", name); } -- cgit v1.2.3