diff options
author | fche <fche> | 2007-08-09 16:11:28 +0000 |
---|---|---|
committer | fche <fche> | 2007-08-09 16:11:28 +0000 |
commit | 802e6327ff8c78b203cede5a178626633ba18fcc (patch) | |
tree | 02a4aaa7ebc69c0d6b3ad89b5865400c7625d4b1 /translate.cxx | |
parent | 0aa5d3ed4dd5b38f302b0175a3e279bdb6d3a7ad (diff) | |
download | systemtap-steved-802e6327ff8c78b203cede5a178626633ba18fcc.tar.gz systemtap-steved-802e6327ff8c78b203cede5a178626633ba18fcc.tar.xz systemtap-steved-802e6327ff8c78b203cede5a178626633ba18fcc.zip |
2007-08-09 Frank Ch. Eigler <fche@elastic.org>
From Lai Jiangshan <laijs@cn.fujitsu.com>:
* translate.cxx (emit_module_exit): Use stp_warn for warning.
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 e799c42a..e6bd4e12 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1306,7 +1306,7 @@ c_unparser::emit_module_exit () // print final error/reentrancy counts if non-zero o->newline() << "if (atomic_read (& skipped_count) || " << "atomic_read (& error_count)) {"; - o->newline(1) << "_stp_printf (\"WARNING: Number of errors: %d, " + o->newline(1) << "_stp_warn (\"Number of errors: %d, " << "skipped probes: %d\\n\", " << "(int) atomic_read (& error_count), " << "(int) atomic_read (& skipped_count));"; |