summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-10-14 16:12:49 -0700
committerJosh Stone <jistone@redhat.com>2009-10-14 16:20:14 -0700
commitb393f6f2f69d4ebf9d210308d251bc67ad6487b3 (patch)
treef09db0ad54db478d33284ca5cf46d359dd9c2071 /tapsets.cxx
parente5a8ad2038080ee6de2cd9c81c189bb5f6b9e59a (diff)
downloadsystemtap-steved-b393f6f2f69d4ebf9d210308d251bc67ad6487b3.tar.gz
systemtap-steved-b393f6f2f69d4ebf9d210308d251bc67ad6487b3.tar.xz
systemtap-steved-b393f6f2f69d4ebf9d210308d251bc67ad6487b3.zip
Fix $$targets in dwarf probes
My print_format refactoring in d5e178c1 missed an improperly-named token, an sprint that should be sprintf. Since the token value is now significant, that name needs to be correct.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index ba6f4ee4..113395e3 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2145,7 +2145,7 @@ dwarf_var_expanding_visitor::visit_target_symbol_context (target_symbol* e)
token* pf_tok = new token;
pf_tok->location = e->tok->location;
pf_tok->type = tok_identifier;
- pf_tok->content = "sprint";
+ pf_tok->content = "sprintf";
print_format* pf = print_format::create(pf_tok);