diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-10-13 07:59:25 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-10-13 07:59:25 -0400 |
commit | e61d83ef1459c8608634f26fca83e2e42dc5c10d (patch) | |
tree | 1a285a4b4236b0291b779f807c6b52ed928d57bf /parse.cxx | |
parent | 9a59aed914fbe25e159b2a60a97693f14b24ddf3 (diff) | |
download | systemtap-steved-e61d83ef1459c8608634f26fca83e2e42dc5c10d.tar.gz systemtap-steved-e61d83ef1459c8608634f26fca83e2e42dc5c10d.tar.xz systemtap-steved-e61d83ef1459c8608634f26fca83e2e42dc5c10d.zip |
parse: fix CONFIG_ matching typo
* parse.cxx (eval_pp_conditional): Flip rhs and lhs args for fnmatch().
Diffstat (limited to 'parse.cxx')
-rw-r--r-- | parse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 == "==") |