summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwcohen <wcohen>2008-02-29 14:36:28 +0000
committerwcohen <wcohen>2008-02-29 14:36:28 +0000
commit9ceec314dfc92c5d69442966dd386aaefee90bea (patch)
tree5a3a3bc2147cbb4740ea78888220b8c94cc6fbd4
parent49abf162fa91397b0c65d41f5c9af31ace4e6290 (diff)
downloadsystemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.tar.gz
systemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.tar.xz
systemtap-steved-9ceec314dfc92c5d69442966dd386aaefee90bea.zip
2008-02-29 Will Cohen <wcohen@redhat.com>
* main.cxx (handle_interrupts): Make compatible with GCC 4.3.
-rw-r--r--ChangeLog4
-rw-r--r--main.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ecfe4269..07cee9dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-29 Will Cohen <wcohen@redhat.com>
+
+ * main.cxx (handle_interrupts): Make compatible with GCC 4.3.
+
2008-02-28 Frank Ch. Eigler <fche@elastic.org>
PR5045
diff --git a/main.cxx b/main.cxx
index 449c1a2a..4364f664 100644
--- a/main.cxx
+++ b/main.cxx
@@ -197,7 +197,7 @@ void handle_interrupt (int /* sig */)
{
char msg[] = "Too many interrupts received, exiting.\n";
int rc = write (2, msg, sizeof(msg)-1);
- if (rc) /* Do nothing; we don't care if our last gasp went out. */ ;
+ if (rc) {/* Do nothing; we don't care if our last gasp went out. */ ;}
_exit (1);
}
}