summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--translate.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c21d67ac..00f13f0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-05-02 Will Cohen <wcohen@redhat.com>
+ * translate.cxx (emit_module_init): Move closing '}' inside #ifdef.
+
+2006-05-02 Will Cohen <wcohen@redhat.com>
+
PR 2228
* stap.1.in: Document "-t" option.
* main.cxx (main): Add "-t" option for collecting timing information.
diff --git a/translate.cxx b/translate.cxx
index e9a297e7..ddbeea0d 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1024,8 +1024,8 @@ c_unparser::emit_module_init ()
o->newline() << "_stp_printf (\"time_" << session->probes[i]->name
<< " %lld@%lld\\n\"," << "stats->count, avg);";
o->newline() << "_stp_print_flush();";
- o->newline() << "#endif";
o->newline(-1) << "}";
+ o->newline() << "#endif";
o->newline(-1) << "}";
}