summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtables.c2
1 files changed, 1 insertions, 1 deletions
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);
}