diff options
author | Peter Volkov <pva@gentoo.org> | 2009-03-24 11:09:16 +0300 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-03-24 12:10:08 +0100 |
commit | 854d2d9bd7556cfd8a676b0bc18dc059a9a2dd25 (patch) | |
tree | 4c5fb2a4c8a34d3d5351b200fe267881665c946d /xtables.c | |
parent | ccf3fba1f2a7547d73135bc5499f9e4b1826f758 (diff) |
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 <jengelh@medozas.de>
Diffstat (limited to 'xtables.c')
-rw-r--r-- | xtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |