From 802e6327ff8c78b203cede5a178626633ba18fcc Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 9 Aug 2007 16:11:28 +0000 Subject: 2007-08-09 Frank Ch. Eigler From Lai Jiangshan : * translate.cxx (emit_module_exit): Use stp_warn for warning. --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'translate.cxx') 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));"; -- cgit