summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.cxx b/parse.cxx
index b88ef7ff..5b3506f8 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -277,7 +277,7 @@ bool eval_pp_conditional (systemtap_session& s,
string lhs = s.kernel_config[l->content]; // may be empty
string rhs = r->content;
- int nomatch = fnmatch (lhs.c_str(), rhs.c_str(), FNM_NOESCAPE); // still spooky
+ int nomatch = fnmatch (rhs.c_str(), lhs.c_str(), FNM_NOESCAPE); // still spooky
bool result;
if (op->type == tok_operator && op->content == "==")