]> sourceware.org Git - systemtap.git/commitdiff
Correct placement of allow_unprivileged call.
authorDave Brolley <brolley@redhat.com>
Wed, 22 Apr 2009 18:34:06 +0000 (14:34 -0400)
committerDave Brolley <brolley@redhat.com>
Wed, 22 Apr 2009 18:34:06 +0000 (14:34 -0400)
tapsets.cxx

index a46512fc09f9db7bd7017f0cfa957247aebbe043..40d4e901e1809155c073966b93e71af16d03aeb3 100644 (file)
@@ -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
This page took 0.040099 seconds and 5 git commands to generate.