diff options
author | hunt <hunt> | 2006-04-11 04:27:01 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-04-11 04:27:01 +0000 |
commit | 048c97644c4a6bff95de01e4e74b7343775d24b2 (patch) | |
tree | fbe059a144e6ee95743a6ad8fb1ad02a684e5972 /translate.cxx | |
parent | 84d31c2f715a343ec39abbea30b39e7f015f5f5b (diff) | |
download | systemtap-steved-048c97644c4a6bff95de01e4e74b7343775d24b2.tar.gz systemtap-steved-048c97644c4a6bff95de01e4e74b7343775d24b2.tar.xz systemtap-steved-048c97644c4a6bff95de01e4e74b7343775d24b2.zip |
2006-04-10 Martin Hunt <hunt@redhat.com>
* translate.cxx (visit_print_format): Call
_stp_snprintf() instead of snprintf().
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx index d1f4ca6a..cbdf39f9 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3511,7 +3511,7 @@ c_unparser::visit_print_format (print_format* e) o->newline() << "_stp_printf ("; } else - o->newline() << "snprintf (" << res.qname() << ", MAXSTRINGLEN, "; + o->newline() << "_stp_snprintf (" << res.qname() << ", MAXSTRINGLEN, "; o->line() << lex_cast_qstring(print_format::components_to_string(components)); |