summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index b8bff286..88a856c2 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -374,7 +374,8 @@ match_node::find_and_build (systemtap_session& s,
if (s.unprivileged && ! unprivileged_ok)
{
- throw semantic_error (string("probe point is not allowed for unprivileged users"));
+ throw semantic_error (string("probe point is not allowed for unprivileged users"),
+ loc->components.back()->tok);
}
map<string, literal *> param_map;