summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 4d47dca1..85505084 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -4747,7 +4747,7 @@ void
dwarf_derived_probe::emit_probe_local_init(translator_output * o)
{
// emit bsp cache setup
- o->newline() << "bspcache(c->unwaddr, c->regs, c->probe_point);";
+ o->newline() << "bspcache(c->unwaddr, c->regs);";
}
// ------------------------------------------------------------------------
@@ -5927,7 +5927,7 @@ void
utrace_var_expanding_copy_visitor::visit_target_symbol_arg (target_symbol* e)
{
string argnum_s = e->base_name.substr(4,e->base_name.length()-4);
- int argnum = atoi (argnum_s.c_str());
+ int argnum = lex_cast<int>(argnum_s);
if (flags != UDPF_SYSCALL)
throw semantic_error ("only \"process(PATH_OR_PID).syscall\" support $argN.", e->tok);