summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-22 14:34:06 -0400
committerDave Brolley <brolley@redhat.com>2009-04-22 14:34:06 -0400
commite8aa2f848123598fa8c2110804b250cba1286271 (patch)
tree6f0ca241ece20603c5f3773aa9dc8dee789dbab1
parentbc815e0692536da04956f038f5f79941579f8d74 (diff)
downloadsystemtap-steved-e8aa2f848123598fa8c2110804b250cba1286271.tar.gz
systemtap-steved-e8aa2f848123598fa8c2110804b250cba1286271.tar.xz
systemtap-steved-e8aa2f848123598fa8c2110804b250cba1286271.zip
Correct placement of allow_unprivileged call.
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index a46512fc..40d4e901 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -5507,7 +5507,7 @@ dwarf_derived_probe::register_function_variants(match_node * root,
root->bind(TOK_INLINE)->allow_unprivileged(unprivileged_ok)->bind(dw);
root->bind(TOK_CALL)->allow_unprivileged(unprivileged_ok)->bind(dw);
root->bind(TOK_RETURN)->allow_unprivileged(unprivileged_ok)->bind(dw);
- root->bind(TOK_RETURN)->allow_unprivileged(unprivileged_ok)->bind_num(TOK_MAXACTIVE)->bind(dw);
+ root->bind(TOK_RETURN)->bind_num(TOK_MAXACTIVE)->allow_unprivileged(unprivileged_ok)->bind(dw);
}
void